Click or drag to resize
EmailHelper Methods

The EmailHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGetEmailFormat(Int32)
Gets the e-mail format for the site given its site ID.
Public methodStatic memberGetEmailFormat(String)
Gets the e-mail format for the site given its site name.
Public methodStatic memberGetReplyToEmailAddress
Returns ReplyTo e-mail address from message (internally handles .NET 4.0 backward compatibility).
Public methodStatic memberGetSender
Returns e-mail sender from template, if defined or specified sender.
Public methodStatic memberGetSubject
Returns e-mail subject from template, if defined or default subject.
Public methodStatic memberGetTransferEncoding
Gets the transfer encoding enumeration.
Public methodStatic memberIsAnySendingEnabled
Returns if e-mail sending is enabled in either global or any site settings.
Public methodStatic memberResolveMetaFileImages(EmailMessage, ListMetaFileInfo)
Appends all attached files to given email. Replaces link 'src="...GetMetaFile.aspx?...fileguid=..."' or 'src=".../GetMetaFile/..." with link to e-mail in-line attachments (only for images).
Public methodStatic memberResolveMetaFileImages(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 in-line attachments (only for images).
Public methodStatic memberSetReplyToEmailAddress
Sets ReplyTo e-mail address of the given message (internally handles .NET 4.0 backward compatibility).
Public methodStatic memberToEmailPriority
Converts a MailPriority value to EmailPriorityEnum value.
Public methodStatic memberToMailPriority
Converts a EmailPriorityEnum value to MailPriority value.
Top
See Also