Mail Error Code

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Mail Error Code

Post by kpassaur » Wed Dec 17, 2008 1:37 pm

Using ver 11 when I connect to a mail server that requires authentication if the user name and password are sent it returns 250 OK, without authentication.

With authentication it returns 250 with the amount accepted. So does the 250 return code just mean that the mail server is there? and accepted mean that it actually has the right settings?

Will there always be an amount accepted in the return code?

I am trying to create a script that tests the mail settings and the help file says that 250 means that it connected. Well does it connect and have to accept as well?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 17, 2008 2:55 pm

250 means "requested action taken and completed". If I try to send mail via smtp.microsoft.com I get "250 Resetting".
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Error Code

Post by kpassaur » Wed Dec 17, 2008 3:06 pm

Do you get an "accepted" when it does go through? I can work with the 250. If it has a 250 it connected if it accepted it accepts so many bytes.

The thought being it connected to the mail server (250), however, the server requires authenticaion, so it did not accept any bytes.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Wed Dec 17, 2008 3:58 pm

It will depend on the server.

I just compared v10 to v11 and I can see there is a difference. Looks like you should get a 550 relay denied type error. Whereas v11 is giving 250 Reset. I'll check this out and see if we can get this fixed for same behaviour.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

kpassaur
Automation Wizard
Posts: 696
Joined: Wed Jul 07, 2004 1:55 pm

Mail Error

Post by kpassaur » Wed Dec 17, 2008 4:20 pm

Great thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Thu Dec 18, 2008 12:42 pm

This was fixed in build 033.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts