Click or drag to resize
EmailHelper Properties

The EmailHelper type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberDebugEmails
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".
Public propertyStatic memberLogEmails
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".
Public propertyStatic memberLogFile
Path to the log file if logging is enabled, see LogEmails property.
Public propertyStatic memberSimulateFailedEmails
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".
Public propertyStatic memberTransferEncoding
E-mail transfer encoding. Default value is TransferEncoding.Base64. The setting may be changed via web.config app-key "CMSEmailTransferEncoding".
Top
See Also