Access to Mail error messages

Have any of you really clever Servoy types worked out how to display the error messages generated by SendMail?

Looking in the Server log I can see SMTPSend Missing ‘"’ and SMTPSend 552 Message too large - it would be really useful to include this information in my error messages to the Client.

Thanks in advance

Graham Greensall
Worxinfo Ltd