troubleshooting Question

503 5.5.1 Incorrect command sequence, How do i fix this

Avatar of dsiemon
dsiemon asked on
3 Comments1 Solution2879 ViewsLast Modified:
I use Merak Mail Server, Merak says it is my script, BUT, it works at on my servers here at Tyco (of course we don't use Merak here)
They also say, as long a I have relay turned on, with the IP address from the machine I should be able to use  ASPMAIL
They said, If I want to set up Virtual SMTP server, I need a second IP address, and Bind them together, and turn off IP spooling in IIS
Maybe you can see somethig wrong

This is my code
Set Mailer = Server.CreateObject("SMTPsvg.Mailer")

Mailer.FromName    = "Daniel Siemon"
Mailer.FromAddress = ""
Mailer.Subject     = "test"
Mailer.BodyText    = "testing"
Mailer.AddRecipient "Daniel",""
Mailer.RemoteHost  = ""

if not Mailer.SendMail then
  Response.Write " Mailing Failed... Error is: <br>"
  Response.Write Mailer.Response
  Response.Write " sent successfully...<p>"
end if

This is the errror I get

Mailing Failed... Error is:
503 5.5.1 Incorrect command sequence

This is what I get when I look up the error

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros