Method | Description | |
---|---|---|
AsyncSendEmail ( string recipient, string sender, string subject, string body, bool html ) : void |
Sends an email.
|
|
AsyncSendMassEmail ( string recipients, string sender, string subject, string body, bool html ) : void |
Asynchronously sends a mass email, using BCC.
|
|
GetRecipients ( UserInfo users ) : string[] |
Gets the email addresses of a set of users.
|
|
NotifyError ( |
Notifies an error to the email addresses set in the configuration, swallowing all exceptions.
|
Method | Description | |
---|---|---|
GenerateSmtpClient ( ) : |
Generates a new SMTP client with the proper settings.
|
|
TrySendMessage ( |
Tries to send a message, swallowing all exceptions.
|
public static AsyncSendEmail ( string recipient, string sender, string subject, string body, bool html ) : void | ||
recipient | string | The recipient. |
sender | string | The sender. |
subject | string | The subject. |
body | string | The message body. |
html | bool | |
return | void |
public static AsyncSendMassEmail ( string recipients, string sender, string subject, string body, bool html ) : void | ||
recipients | string | The recipents. |
sender | string | The sender. |
subject | string | The subject. |
body | string | The body. |
html | bool | |
return | void |
public static GetRecipients ( UserInfo users ) : string[] | ||
users | UserInfo | The users. |
return | string[] |
public static NotifyError ( |
||
ex | The exception to notify. | |
url | string | The URL that caused the error, if any. |
return | void |