Beispiel #1
0
        public static EmailComposer FromTemplate(EmailTemplate template)
        {
            var ret = new EmailComposer()
            {
            };

            ret.SetSubject(template.Subject);
            ret.SetBody(template.Body);
            return(ret);
        }
Beispiel #2
0
        public static EmailComposer FromTemplate(string subject, string body)
        {
            var ret = new EmailComposer()
            {
            };

            ret.SetSubject(subject);
            ret.SetBody(body);
            return(ret);
        }