From bd1324f2dca12943baf810c46ac94e2c08236fc5 Mon Sep 17 00:00:00 2001 From: TimWolla Date: Fri, 15 Jul 2011 14:17:30 +0200 Subject: [PATCH] SMTP no longer throws an Exception when code 250 (OK) occurs --- wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1