diff --git a/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp b/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp index 81436313cc..43a29548f5 100644 --- a/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp +++ b/src/add-ons/mail_daemon/outbound_protocols/smtp/SMTP.cpp @@ -425,7 +425,8 @@ SMTPProtocol::Open(const char *address, int port, bool esmtp) if (esmtp) { const char *res = fLog.String(); char *p; - if ((p = ::strstr(res, "250-AUTH")) != NULL) { + if ((p = ::strstr(res, "250-AUTH")) != NULL + || (p = ::strstr(res, "250 AUTH")) != NULL) { if(::strstr(p, "LOGIN")) fAuthType |= LOGIN; if(::strstr(p, "PLAIN"))