From: TimWolla Date: Fri, 15 Jul 2011 12:17:30 +0000 (+0200) Subject: SMTP no longer throws an Exception when code 250 (OK) occurs X-Git-Tag: 2.0.0_Beta_1~2029^2^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bd1324f2dca12943baf810c46ac94e2c08236fc5;p=GitHub%2FWoltLab%2FWCF.git SMTP no longer throws an Exception when code 250 (OK) occurs --- diff --git a/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php b/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php index 95b1c58b6b..90ad48057c 100644 --- a/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php +++ b/wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php @@ -142,7 +142,7 @@ class SMTPMailSender extends MailSender { // data $this->write("DATA"); $this->getSMTPStatus(); - if ($this->statusCode != 354) { + if ($this->statusCode != 354 && $this->statusCode != 250) { throw new SystemException($this->formatError("smtp error"), 17005); }