Link to home
Start Free TrialLog in
Avatar of rrhandle8
rrhandle8Flag for United States of America

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.net"
mailer.port = 25
mailer.username = "[my email address]"
mailer.password = "[my password]"
Avatar of Big Monty
Big Monty
Flag of United States of America image

at first glance, i would double check the user name and password. did your hosting company tell you your account would work?
Avatar of rrhandle8

ASKER

Username and password are correct.
SMTP authentication works with C# and VB scripts, but not with ASP classic.
Sorry. That didn't work either.
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?
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?
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members 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.