C# Class Engage.Dnn.TellAFriend.EmailService

Service to send the email
Afficher le fichier Open project: EngageSoftware/Engage-Tell-a-Friend

Méthodes publiques

Méthode Description
SendEmail ( string localResourceFile, string siteUrl, string portalName, string senderEmail, string friendsEmail, string senderName, string friendName, string message, string portalEmail, int moduleId, int tabId ) : string

Sends the email.

Private Methods

Méthode Description
ReplaceTokens ( string tokenizedText, string friendName, string siteUrl, string senderName, string message, string portalName, string senderEmail, bool encode ) : string

Replaces the tokens in the given tokenizedText.

Method Details

SendEmail() public static méthode

Sends the email.
public static SendEmail ( string localResourceFile, string siteUrl, string portalName, string senderEmail, string friendsEmail, string senderName, string friendName, string message, string portalEmail, int moduleId, int tabId ) : string
localResourceFile string The local resource file.
siteUrl string The site URL.
portalName string Name of the portal.
senderEmail string The sender email.
friendsEmail string The friends email.
senderName string Name of the sender.
friendName string Name of the friend.
message string The message.
portalEmail string The portal administrator's email.
moduleId int The ID of the module from which this email is being sent.
tabId int The ID of the tab from which this email is being sent.
Résultat string