Closed pnikolov closed 8 years ago
Detect when there is no username specified and configure the PHPMailer to not user authentication when connecting to a SMTP.
The SMTPAuth property causes phpmailer to send “AUTH LOGIN” after the “EHLO”, but the credentials are blank so the remote end hangs up.
A better default might be to check that username is set before attempting to login.
Detect when there is no username specified and configure the PHPMailer to not user authentication when connecting to a SMTP.
A better default might be to check that username is set before attempting to login.