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); }
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); }