From Xojo Documentation


SMTPSecureSocket.ServerError(ErrorID as Integer,ErrorMessage as String, Email as EmailMessage)

Supported for all project types and targets.

Executes when an error occured while sending a message.


ErrorID and ErrorMessage are sent by the mail server and Email is the message that was being sent when the error occurred. Email is removed from the queue at the time the event executes.