Page 1 of 1
Better email error information
Posted: Tue Jun 04, 2019 6:49 pm
by DoubleDutch
When using the email lib, just knowing that it fails isn't ideal. It would be much better if there was some more information about why the email actually failed, eg bad password, etc...
Re: Better email error information
Posted: Tue Jun 04, 2019 7:26 pm
by RSBasic
+1
Either -1, -2, -3 etc. for error codes or GetLastError() function.
Re: Better email error information
Posted: Tue Jun 11, 2019 7:07 am
by BarryG
DoubleDutch wrote:eg bad password, etc...
Isn't that a security/privacy risk? I could try a username with any password just to probe and see if the username existed.
Re: Better email error information
Posted: Tue Jun 11, 2019 7:15 am
by DoubleDutch
No. The same thing could be done with a telnet client - You get a message back saying bad username/password. To see what I mean just open telnet with the port of a mail client then type in the commands documented in the RFC docs.
Re: Better email error information
Posted: Tue Jun 11, 2019 7:27 am
by BarryG
Okay, I'll take your word for it.

And so, in that case: +1