public static void Send( MailMessage mailMessage, SmtpSettings smtpSettings, bool throwOnError )
Parameters
- mailMessage
- The email message to send
- smtpSettings
- The SMTP settings to use for sending the message
- throwOnError
- Whether to throw the error or suppress it