Better email error information
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Better email error information
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...
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
- RSBasic
- Moderator
- Posts: 1218
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: Better email error information
+1
Either -1, -2, -3 etc. for error codes or GetLastError() function.
Either -1, -2, -3 etc. for error codes or GetLastError() function.
Re: Better email error information
Isn't that a security/privacy risk? I could try a username with any password just to probe and see if the username existed.DoubleDutch wrote:eg bad password, etc...
- DoubleDutch
- Addict
- Posts: 3219
- Joined: Thu Aug 07, 2003 7:01 pm
- Location: United Kingdom
- Contact:
Re: Better email error information
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.
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
https://reportcomplete.com <- School end of term reports system
Re: Better email error information
Okay, I'll take your word for it. And so, in that case: +1