コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }