View Single Post
  #4 (permalink)  
Old 09-02-04, 09:02 PM
Mikeirv Mikeirv is offline
Newbie Coder
 
Join Date: May 2004
Posts: 55
Thanks: 0
Thanked 0 Times in 0 Posts
Most likely your server is the latest Windows Server and does not use CDONTS. Try the folowing

<%
set MailObj = Server.CreateObject("CDO.Message")
MailObj.From = "serder@carstd.com"
MailObj.To = "receiver@yahoo.com"
MailObj.Subject = "Thanks for Registering with Carstudio!"
''// For text email use
MailObj.TextBody = "You have Registered for CarStudio.com"
''// For HTML email use
MailObj.HTMLBody = "You have Registered for CarStudio.com"
MailObj.Send
set MailObj = Nothing

Response.Write ( " Dealer Sucessfully Registered. Kindly wait for our notification email to approve your dealership.")
%>

As you can see it is very close, but leave it to MicroStiff to change it just enough to cause errors.
Reply With Quote