rrhandle8
asked on
Using classic ASP and SMTP authentication instead of localhost
I have a classic ASP web page that uses Jmail to send messages. The hosting company did a upgrade on their server a week ago. My script continued to work until today. I was told I should try using SMTP authentication instead of LocalHost. No luck. Getting error message.
ERROR: SendJmail The message was undeliverable. All servers failed to receive the messageSent as plain text.
Can someone tell me if I made the right changes?
The line Mailer.ServerAddress = "localhost"
Was replaced with the following lines
mailer.serverAddress = "sm04.internetmailserver.n et"
mailer.port = 25
mailer.username = "[my email address]"
mailer.password = "[my password]"
ERROR: SendJmail The message was undeliverable. All servers failed to receive the messageSent as plain text.
Can someone tell me if I made the right changes?
The line Mailer.ServerAddress = "localhost"
Was replaced with the following lines
mailer.serverAddress = "sm04.internetmailserver.n
mailer.port = 25
mailer.username = "[my email address]"
mailer.password = "[my password]"
at first glance, i would double check the user name and password. did your hosting company tell you your account would work?
ASKER
Username and password are correct.
SMTP authentication works with C# and VB scripts, but not with ASP classic.
SMTP authentication works with C# and VB scripts, but not with ASP classic.
try using
mailer.Server = xxx
instead of using ServerAddress
more info - http://knowledge.3essentials.com/web-hosting/article/27/Sending-mail-from-a-web-page-using-ASP-and-JMail.html
mailer.Server = xxx
instead of using ServerAddress
more info - http://knowledge.3essentials.com/web-hosting/article/27/Sending-mail-from-a-web-page-using-ASP-and-JMail.html
ASKER
Sorry. That didn't work either.
So frustrating.
So frustrating.
it would be helpful if you were a bit more detailed...what "didn't work"? same error message or different?
do you HAVE to use jMail or are you able to use the more popular CDO mail method?
do you HAVE to use jMail or are you able to use the more popular CDO mail method?
ASKER
Error message is generic:
ERROR: SendJmail The message was undeliverable. All servers failed to receive the message. Sent as plain text.
The original problem started when the hosting company updated the server. Problems everywhere for over a week. They got the Jmail working again using "localhost"
CDO? Didn't Microsoft dump that a few years back?
ERROR: SendJmail The message was undeliverable. All servers failed to receive the message. Sent as plain text.
The original problem started when the hosting company updated the server. Problems everywhere for over a week. They got the Jmail working again using "localhost"
CDO? Didn't Microsoft dump that a few years back?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.