Skip to content

Commit a099907

Browse files
committed
Merge branch 'master' of github.com:WoltLab/WCF
2 parents 94038ce + 0256333 commit a099907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcfsetup/install/files/lib/system/mail/SMTPMailSender.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function sendMail(Mail $mail) {
142142
// data
143143
$this->write("DATA");
144144
$this->getSMTPStatus();
145-
if ($this->statusCode != 354) {
145+
if ($this->statusCode != 354 && $this->statusCode != 250) {
146146
throw new SystemException($this->formatError("smtp error"), 17005);
147147
}
148148

0 commit comments

Comments
 (0)