Page 1 of 1

New Function GeteMailError()

Posted: Mon Oct 16, 2017 9:52 pm
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

Re: New Function GeteMailError()

Posted: Tue Oct 24, 2017 1:11 am
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.