English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

The ADODB connection works so I didn't add that code. Notice problem?
<%Dim Mail
Set Mail = CreateObject("CDONTS.NewMail")
Mail.From = "blablabla@hotmail.com"
Mail.To = username
Mail.Subject = "Thanks for Registering"


buf = "Dear " & rst("name") & vbCrLf
buf = buf & " " & vbCrLf
buf = buf & "Thank you for registering." & vbCrLf
buf = buf & " " & vbCrLf
buf = buf & "Your login details are as follows:" & vbCrLf
buf = buf & " " & vbCrLf
buf = buf & "Username: " & rst("user") & vbCrLf
buf = buf & "Password: " & rst("pass") & vbCrLf
buf = buf & " " & vbCrLf
buf = buf & "To Activate your account, please click on the following link" & vbCrLf
buf = buf & "http://etc.com/activate.asp?nr=" & rst("nr") & vbCrLf
buf = buf & " " & vbCrLf
buf = buf & "Regards" & vbCrLf
buf = buf & "The Administrator" & vbCrLf
Mail.Body = buf%>
<%
rst.Close
Pears.Close
set Pears = Nothing
Mail.Send
Set Mail = Nothing
response.redirect ("thanks.asp")
%>

2007-04-29 11:13:53 · 3 answers · asked by kewlguitarist 2 in Computers & Internet Programming & Design

3 answers

Most likelly the mail server will not let you send a message from a domain other than one it serves.

Some will let you if you authenticate.

I have no idea how you authenticate with that mail object, its been years since I have touched classic Asp.

2007-04-29 11:27:46 · answer #1 · answered by Joey M 3 · 0 0

I have both Yahoo and Hotmail money owed, so that is a particularly undemanding one to attempt out. in actuality, sending mail from Hotmail to Yahoo isn't operating, in certain circumstances the mail might want to seem after an afternoon or so, usually i eventually get a shipping failure observe, or no longer something. notwithstanding it may't in simple terms be a Yahoo difficulty, because acquaintances with Hotmail money owed have did not deliver mail to my Hotmail account. Time to the contact Hotmail tech help, for each and each and every of the sturdy it is going to do.

2016-11-23 15:34:50 · answer #2 · answered by Anonymous · 0 0

The obvious question... is CDONTs actually installed? And is it configured with an SMTP server?

http://support.microsoft.com/kb/186204

2007-04-29 11:30:12 · answer #3 · answered by Kasey C 7 · 0 0

fedest.com, questions and answers