Esempio n. 1
0
        public SendResult SendTemplateEmail(SendTemplateParameter parameter, string attachmentName, string attachmentPath)
        {
            string json = base.CallApi(Config.SendConfig.MailSendTemplate, parameter, attachmentName, attachmentPath);

            return(JsonNet.DeserializeToString <SendResult>(json));
        }
Esempio n. 2
0
 public SendResult SendTemplateEmail(SendTemplateParameter parameter)
 {
     return(Execute <SendResult, SendTemplateParameter>(Config.SendConfig.MailSendTemplate, parameter, true));
 }