public static void SendExceptionEmailMessage(String toMail, String exceptionMessage) { var sendEmail = new SendEmail(); exceptionEmailSend_Delegate exceptionEmail_delegate = null; exceptionEmail_delegate = new exceptionEmailSend_Delegate(sendEmail.SendEmailMessage); IAsyncResult CallAsynchMethod = null; CallAsynchMethod = exceptionEmail_delegate.BeginInvoke(toMail,"Exception","Exception",ExceptionEmailBodyContent(exceptionMessage),null,null,"Cautom - Where Human Intelligence works",null,null); //invoking the method }
public static void SendContactUsEmailMessage(String toMail, ContactUsRequest req) { var sendEmail = new SendEmail(); sendEmail.SendEmailMessage(toMail, "ContactUs", "User Contact Us", ContactUsEmailBodyContent(req), null, null, "Cautom - Where Human Intelligence works" ); }
public void SendForgetPasswordValidationEmailMessage(String toMail, String guid, HttpRequestBase request, string id) { var sendEmail = new SendEmail(); if (request.Url != null) { sendEmail.SendEmailMessage(toMail, "donotreply", "Validate your Account", ForgetPasswordEmailBodyContent(request.Url.Authority, id, guid), null, null, "Zestork - Place to boost your Carrer" ); } }
public static void SendAccountCreationValidationEmailMessage(String toMail,String guid, HttpRequestBase request) { var sendEmail = new SendEmail(); if (request.Url != null) { sendEmail.SendEmailMessage(toMail, "donotreply", "Validate your Account", CreateAccountEmailBodyContent(request.Url.Authority, toMail, guid), null, null, "Zestork - Place to boost your Carrer" ); } }