public void RequestPrint() { SimpleEmailSenderUtils.SendEmail(RuntimeConstant.EMAIL_SUBJECT_REQUESTAPPROVALPRINTSPK, View.ApprovalEmailBody.Replace(RuntimeConstant.EMAIL_APPROVALSPK_BODY, View.SelectedSPK.Code), View.ApprovalEmailTo, View.ApprovalEmailFrom, string.Empty, string.Empty, string.Empty); Model.RequestPrintSPK(View.SelectedSPK, LoginInformation.UserId); }
public void SendApproval() { try { SimpleEmailSenderUtils.SendEmail(RuntimeConstant.EMAIL_SUBJECT_REQUESTAPPROVALSPK, View.ApprovalEmailBody.Replace(RuntimeConstant.EMAIL_APPROVALSPK_BODY, View.SelectedSPK.Code), View.ApprovalEmailTo, View.ApprovalEmailFrom, string.Empty, string.Empty, string.Empty); } catch (System.Exception) { } }