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?
Mail Error Code
Moderators: JRL, Dorian (MJT support)
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Error Code
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.
The thought being it connected to the mail server (250), however, the server requires authenticaion, so it did not accept any bytes.
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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.
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
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?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?