EmailHelper Properties |
The EmailHelper type exposes the following members.
Name | Description | |
---|---|---|
DebugEmails |
Gets if the debug mode is active. Default value is false.
If the debug mode is on, the e-mail sending thread sleeps for 500-1000ms instead of actually sending the e-mail.
The setting may be changed via web.config app-key "CMSDebugEmails".
| |
LogEmails |
If true, sent e-mails are logged to the file. Default value is false.
The setting may be changed via web.config app-key "CMSLogEmails".
| |
LogFile |
Path to the log file if logging is enabled, see LogEmails property.
| |
SimulateFailedEmails |
Gets if the simulation of send failures is active during debug mode (see DebugEmails property). Default value is false.
If true, and exception is thrown when trying to send an e-mail.
The setting may be changed via web.config app-key "CMSSimulateFailedEmails".
| |
TransferEncoding |
E-mail transfer encoding. Default value is TransferEncoding.Base64.
The setting may be changed via web.config app-key "CMSEmailTransferEncoding".
|