The following are methods for SendEmailResult. All are instance methods.
getErrors()
If an error occurred during the sendEmail method, a SendEmailError object is returned.
isSuccess()
Indicates whether the email was successfully submitted for delivery (true) or not (false). Even if isSuccess is true, it does not mean the intended recipients received the email, as there could have been a problem with the email address or it could have bounced or been blocked by a spam blocker.
getErrors()
If an error occurred during the sendEmail method, a SendEmailError object is returned.
Indicates whether the email was successfully submitted
for delivery (true) or not
(false). Even if isSuccess is true, it does not mean
the intended recipients received the email, as there could have been
a problem with the email address or it could have bounced or been
blocked by a spam blocker.