473,373 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,373 software developers and data experts.

Help changing cdonts signup email to CDOSYS

hi

once members sign up to my site they get sent an email which contains there username/password which they enter on a sign up form. Once they've signed up the email is automatically sent using the code below.

The site uses classic asp and vbscript, with the email bit in cdonts. I recently changed hosts and they use cdosys.

I have used cdosys email before but are'nt sure how to get it to connect to the asp bits they enter on the sign up forms. The sign up forms is 5 pages long and they enter the username/password on page 1 and the email gets sent on page 5. www.uktattoostudios.co.uk/signup1.asp

Heres the code for the email page:

<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="Connections/TATTOO.asp" -->
<%
Dim signupSet
Dim signupSet_numRows

Set signupSet = Server.CreateObject("ADODB.Recordset")
signupSet.ActiveConnection = MM_TATTOO_STRING
signupSet.Source = "SELECT * FROM dbo.tbl_studios ORDER BY id DESC"
signupSet.CursorType = 0
signupSet.CursorLocation = 2
signupSet.LockType = 1
signupSet.Open()

signupSet_numRows = 0

' SEND THE USER A SIGNUP EMAIL
strEmail = signupSet.Fields.Item("email").Value
strSend = "info@uktattoostudios.co.uk"
Set EmailManager = Server.CreateObject("CDONTS.NewMail")
EmailManager.From = strSend
EmailManager.To = strEmail
EmailManager.Bcc = "backup@digitalturtle.co.uk"
EmailManager.Subject = "Thank you for signing up to www.uktattoostudios.co.uk"
EmailManager.BodyFormat = 0
EmailManager.MailFormat = 0
EmailManager.Body = "<font face=verdana size=2><b>Thank you for signing up to our tattoo directory www.uktattostudios.co.uk</b><br><br>You now have access to a secure studio login area where you can upload examples of your work and write a short description about your studio. To login to this area please visit <a href='http://www.uktattoostudios.co.uk/studios/index.asp'>http://www.uktattoostudios.co.uk/studios/index.asp</a> where you will be promted for your email address and password. In our system these details are :-<br><br><b>Email Address - </b> " & signupSet.Fields.Item("email").Value & "<br><b>Password - </b>" & signupSet.Fields.Item("password").Value & "<br><br>Please note that these details are case sensetive so must be entered exactly as they area above.<br><br>Please note we have to manually asign you to a county - therefore please allow an hour or so after you submit yourself before you start appearing on the site (office hours of course!).<br><br>If we can be of any further assistance please dont hesitate to contact us, and we look forward to sending many enquiries your way over the next 12 months.<br><br>" &_
"David Worden<br>Site Owner<br><br>" &_
"E : info@uktattoostudios.co.uk<br>" &_
"W : www.uktattoostudios.co.uk<br>" &_
"------------------------------------------------------------------<br>" &_
"UK TATTOO STUDIOS<br>" &_
"61 Bolton Rd<br>" &_
"Abbey Village<br>" &_
"Chorley<br><br>" &_
"Lancs<br>" &_
"PR6 8DP<br>" &_
"------------------------------------------------------------------</font>"

EmailManager.Send

%>

thanks for any help or advice
Jul 28 '07 #1
0 1389

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine....
4
by: Mac Davis | last post by:
Ive just learned that CDONTS is not available of Server 2003. So, I've been trying to make sense out of what I can read. I have succeeded in completely confusing myself. In one place Microsoft...
2
by: Joey | last post by:
I am currently developing a C# asp.net application where users are required to register. The application then generates a simple, plain text email and sends it to the new user. I have been...
4
by: Roger Withnell | last post by:
I'm sending Russian text in an email generated from the website which displays in the email as ?????????? The website is set to codepage 65001 and the charset to utf-8. Please advise. ...
12
by: Jeff | last post by:
I have a dedicated windows server on BlueGenesis. I'd like to send an email using ASP, but I'm getting this error message: Microsoft VBScript runtime error '800a01ad' ActiveX component...
4
by: Dr. Harvey Waxman | last post by:
I guess I should change from cdonts to cdosys. Since I am ignorant about asp I hope you forgive this basic question. There are two asp files for handling mail, the one that gets the info from a...
7
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the...
15
by: Earl Partridge | last post by:
If there's a newgroup for this subject, please point me to it... Is it possible to set the font size of the body of the text? Earl
6
by: jbguernsey | last post by:
for: There was no reference to CDO in the References so selected CDO. Code didn't work (CDONTS.email unrecognised). read There was no reference to CDONTS in the References so selected CDO....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.