Ejemplo n.º 1
0
 public static void SaveEmailContent(CultureInfo cultureInfo, EmailContentType emailContentType, EmailContent emailContent)
 {
     Jdn45Common.Util.SerializeToXmlFile(emailContent, GetFileName(cultureInfo, emailContentType));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Email to one recipient.
 /// </summary>
 /// <param name="emailParameters"></param>
 /// <param name="to"></param>
 /// <param name="emailContent"></param>
 /// <param name="attachmentFileList"></param>
 public static void Email(EmailParameters emailParameters, string to, EmailContent emailContent, List<string> attachmentFileList)
 {
     Email(emailParameters, to, emailContent.Subject, emailContent.Body, emailContent.IsHtml, attachmentFileList);
 }