#1234 Wrong email server name gives unrelated error message

open
smtp (24)
5
2010-12-16
2010-12-16
Arjen Markus
No

If you pass the wrong server name to the smtp::sendmessage procedure, then the error message is:

premature end-of-file from server

This may be true, but it does not easily lead to the cause of the problem: the specified server does not exist.

Please try to detect this type of error and return a message that is more to the point

Discussion