Esempio n. 1
0
        private static void BuildAndSendEmailRequest(SendEmailRequest emailRequest, string toEmail, string emailSubject, string emailBody)
        {
            emailRequest.ToEmails     = toEmail;
            emailRequest.EmailSubject = emailSubject;
            emailRequest.EmailBody    = emailBody;
            EmailComponent objemail = new EmailComponent();

            objemail.SendEmail(emailRequest);
        }
Esempio n. 2
0
        private static void BuildAndSendEmailRequest(SendEmailRequest emailRequest, string toEmail, string emailSubject, string emailBody)
        {
            Log.Error("call BookOrChangeAppointment BC");
            emailRequest.ToEmails     = toEmail;
            emailRequest.EmailSubject = emailSubject;
            emailRequest.EmailBody    = emailBody;
            EmailComponent objemail = new EmailComponent();

            objemail.SendEmail(emailRequest);
        }