Exemplo n.º 1
0
        public static EmailComposer FromTemplate(EmailTemplate template)
        {
            var ret = new EmailComposer()
            {
            };

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

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