It is currently Sun Nov 17, 2019 3:26 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Better email error information
PostPosted: Tue Jun 04, 2019 6:49 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3113
Location: United Kingdom
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Better email error information
PostPosted: Tue Jun 04, 2019 7:26 pm 
Offline
Moderator
Moderator
User avatar

Joined: Thu Dec 31, 2009 11:05 pm
Posts: 1106
Location: Germany::Berlin()
+1

Either -1, -2, -3 etc. for error codes or GetLastError() function.

_________________
ImageImageImageImage Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Better email error information
PostPosted: Tue Jun 11, 2019 7:07 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 391
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Better email error information
PostPosted: Tue Jun 11, 2019 7:15 am 
Offline
Addict
Addict
User avatar

Joined: Thu Aug 07, 2003 7:01 pm
Posts: 3113
Location: United Kingdom
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Better email error information
PostPosted: Tue Jun 11, 2019 7:27 am 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 18, 2019 8:17 am
Posts: 391
Okay, I'll take your word for it. :) And so, in that case: +1


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye