public MailVerifyResult Verify(Mailer mail) { if (level == MailVerifyLevel.None) { return(MailVerifyResult.Ok); } MailVerifyResult result = MailVerifyResult.Failed; MailVerifier v = new MailVerifier(); try { result = v.DoVerify(mail); } catch (Exception ex) { throw ex; } return(result); }
public MailVerifyResult Verify(Mailer mail) { if (level == MailVerifyLevel.None) { return MailVerifyResult.Ok; } MailVerifyResult result = MailVerifyResult.Failed; MailVerifier v = new MailVerifier(); try { result = v.DoVerify(mail); } catch (Exception ex) { throw ex; } return result; }