New Function GeteMailError()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
swhite
Enthusiast
Enthusiast
Posts: 726
Joined: Thu May 21, 2009 6:56 pm

New Function GeteMailError()

Post by swhite »

Hi

It would be helpful if there was a function that could return the details of the error that caused the SendMail() to fail. I could then log/display the reason do the user would have some idea what cause the problem. My suggestion is GeteMailError().

Thanks,
Simon
Simon White
dCipher Computing
User avatar
USCode
Addict
Addict
Posts: 912
Joined: Wed Mar 24, 2004 11:04 pm
Location: Seattle, USA

Re: New Function GeteMailError()

Post by USCode »

swhite wrote:It would be helpful if there was a function that could return the details of the error that caused the SendMail() to fail. I could then log/display the reason do the user would have some idea what cause the problem. My suggestion is GeteMailError().
Sounds like a useful and reasonable request, but to be consistent with the other PB "Error" commands, maybe it should be just "MailError()" ?
e.g. DatabaseError(), DialogError(), SerialPortError(), etc.
Post Reply