You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * SMTP auth type. * Options are CRAM-MD5, LOGIN, PLAIN, XOAUTH2, attempted in that order if not specified. * * @var string */public$AuthType = '';
This is ambiguous. I had previously understood that each authentication method is tried, in the order indicated, until one of them works. But after reading the code of SMTP->authenticate(), it is clear that among the methods announced by the server, the best one also supported by PHPMailer is chosen and tried only once.
I was tricked by a lying server which claims to support CRAM-MD5 but refuses authentication with this method.
Solution?
Can you correct the documentation to disambiguate it please?
The text was updated successfully, but these errors were encountered:
Problem description
The docstring say in PHPMAILER.php:
This is ambiguous. I had previously understood that each authentication method is tried, in the order indicated, until one of them works. But after reading the code of SMTP->authenticate(), it is clear that among the methods announced by the server, the best one also supported by PHPMailer is chosen and tried only once.
I was tricked by a lying server which claims to support CRAM-MD5 but refuses authentication with this method.
Solution?
Can you correct the documentation to disambiguate it please?
The text was updated successfully, but these errors were encountered: