Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SmtpMailer: add support for AUTH PLAIN #31
... some Windows magic I guess, I don't usually push code on this computer so it got a bit clumsy :D I will try to fix it ...
How should the STARTTLS be related? If it is required and for some reason it fails to activate then the execution stops - the credentials are never sent.
The space after return code is used to indicate the last line of the response. The link you posted is a good example of that.
Thanks for pointing out the space vs dash issue - I updated the implementation to count with both of them (because the AUTH can also be the last line of the response).
And btw the +x flag was set by PhpStorm on Windows ... I don't know why but it happened again. Weird.