C# Класс Engage.Dnn.TellAFriend.EmailService

Service to send the email
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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.

Описание методов

SendEmail() публичный статический Метод

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.
Результат string