Exemple #1
0
 /// <summary>
 /// Create a mail body by using template
 /// </summary>
 /// <param name="templateFileName"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public static string CreateMailBody(List <string> changeObject, Dictionary <string, string> changeValue, string templateFileName, string senderName, NotificationType type)
 {
     return(ReadFileTemplate.ReadFile(changeObject, changeValue, templateFileName, senderName, type));
 }
Exemple #2
0
 /// <summary>
 /// Create a mail body by using template
 /// </summary>
 /// <param name="templateFileName"></param>
 /// <param name="type"></param>
 /// <returns></returns>
 public static string CreateMailBody(string message, string templateFileName, string senderName, NotificationType type, string name)
 {
     return(ReadFileTemplate.ReadFile(message, templateFileName, senderName, type, name));
 }