Exemplo n.º 1
0
        public async Task <bool> SendEmailNotfication(String eMailBody, String eMailSubject, String toAddress, String ccAddress, String bccAddress, DateTime?deliveryDate = null, string from = null)
        {
            AppSendService.SendClient client = new AppSendService.SendClient();
            await client.sendEMAILAsync(Configuaration.ServiceEmail, eMailBody, eMailSubject, toAddress, ccAddress, bccAddress, deliveryDate);

            return(true);
        }
Exemplo n.º 2
0
        public async Task <bool> EmployeeEvaluationNotification(string eMailBody, string eMailSubject, string responsibleDepartment, string phoneExtension, string toAddress, string ccAddress, string bccAddress, DateTime?deliveryDate = null, string from = null)
        {
            AppSendService.SendClient client = new AppSendService.SendClient();
            await client.sendEMAILAsync(Configuaration.ServiceEmail, eMailBody, eMailSubject, toAddress, ccAddress, bccAddress, deliveryDate);

            return(true);
        }