Hotmail blocks emails sent w/ CDONTS/CDOSYS????
For some reason, the email scripts on my web site can't send emails to
Hotmail accounts. No error is generated, but no email is sent either. I've
done some searching on this matter, and it appears as though I'm not the
only one having this problem, but I have yet to find a solution :(
Below is my CDOSYS script that was *supposed to* resolve the problem by
passing the SMTP server's along with the email, but it doesn't work :(
Have any of you had success with sending emails to Hotmail accounts via CDO?
I don't have control over the server's setup because it's a hosted account.
Todd M. Taylor
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "MySite.com - Password Reminder"
objMessage.From = "firstname.lastname@example.org"
objMessage.To = pEmail
strBody = "Hello " & pUserName & ":" & VbCrLf & VbCrLf
strBody = strBody & "Here is your requested password for logging in to
http://www.mysite.com/" & VbCrLf & VbCrLf
strBody = strBody & "------------------------" & VbCrLf
strBody = strBody & "Password: " & pPassword & VbCrLf
strBody = strBody & "------------------------"
objMessage.TextBody = strBody
'==This section provides the configuration information for the remote SMTP
'==Normally you will only change the server name or IP.
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'Name or IP of Remote SMTP Server
'Server port (typically 25)
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
'==End remote SMTP server configuration section==
|All times are GMT. The time now is 02:45 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.