コード例 #1
0
 public static int AddEmailTemplate(this IEmailService service, EmailTemplate template,
                                    AddEmailTemplateMergeContext mergeContext)
 {
     return(service.AddEmailTemplate(template.PieceTitle, template.Categories,
                                     template.ToAddress,
                                     template.CcAddress,
                                     template.BccAddress,
                                     template.Subject,
                                     template.TextBody,
                                     template.HTMLBody,
                                     template.ContentType.ToString(),
                                     mergeContext.ToString()));
 }