public SendResult SendTemplateEmail(SendTemplateParameter parameter, string attachmentName, string attachmentPath) { string json = base.CallApi(Config.SendConfig.MailSendTemplate, parameter, attachmentName, attachmentPath); return(JsonNet.DeserializeToString <SendResult>(json)); }
public SendResult SendTemplateEmail(SendTemplateParameter parameter) { return(Execute <SendResult, SendTemplateParameter>(Config.SendConfig.MailSendTemplate, parameter, true)); }