The EmailHelper type exposes the following members.
Back to Top
Back to Top
Back to Top
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetEmailFormat(Int32) |
Gets the e-mail format for the site given its site ID.
|
![]() ![]() | GetEmailFormat(String) |
Gets the e-mail format for the site given its site name.
|
![]() ![]() | GetReplyToEmailAddress |
Returns ReplyTo e-mail address from message (internally handles .NET 4.0 backward compatibility).
|
![]() ![]() | GetSender |
Returns e-mail sender from template, if defined or specified sender.
|
![]() ![]() | GetSubject |
Returns e-mail subject from template, if defined or default subject.
|
![]() ![]() | GetTransferEncoding |
Gets the transfer encoding enumeration.
|
![]() ![]() | IsAnySendingEnabled |
Returns if e-mail sending is enabled in either global or any site settings.
|
![]() ![]() | ResolveMetaFileImages(EmailMessage, List MetaFileInfo ) |
Appends all attached files to given email.
Replaces link 'src="...GetMetaFile.aspx?...fileguid=..."' or 'src=".../GetMetaFile/..." with link to e-mail inline attachments (only for images).
|
![]() ![]() | ResolveMetaFileImages(EmailMessage, Int32, String, String) |
Appends all attached files to given email.
Replaces link 'src="...GetMetaFile.aspx?...fileguid=..."' or 'src=".../GetMetaFile/..." with link to e-mail inline attachments (only for images).
|
![]() ![]() | SetReplyToEmailAddress |
Sets ReplyTo e-mail address of the given message (internally handles .NET 4.0 backward compatibility).
|
![]() ![]() | ToEmailPriority | |
![]() ![]() | ToMailPriority |
Fields
Name | Description | |
---|---|---|
![]() ![]() | DEFAULT_EMAIL_SENDER |
E-mail used as default sender
|
Properties
Name | Description | |
---|---|---|
![]() ![]() | DebugEmails |
Gets if the debug mode is active.
If the debug mode is on, the e-mail sending thread sleeps for 500-1000ms instead of actually sending the e-mail.
|
![]() ![]() | LogEmails |
If true, sent e-mails are logged to the file.
|
![]() ![]() | LogFile |
Logs file.
|
![]() ![]() | SimulateFailedEmails |
Gets if the simulation of e-mail send failures is active.
If true, and exception is thrown when trying to send an e-mail.
|
![]() ![]() | TransferEncoding |
E-mail transfer encoding.
|
See Also