João M. S. Silva wrote on Fri, Dec 09, 2016 at 02:47:26 +0000: > This has worked for years. > > However, recently I get this error: > > smtplib.SMTPException: SMTP AUTH extension not supported by server > > Searching for a solution, it seems we have to run "starttls" before > "ehlo", but I don't think I can change that, the way I'm running it.
Didn't you ask this on IRC not long ago? Whether the SMTP AUTH extension is offered on a plain connection before STARTTLS is not universal; that depends on the SMTP server. I would advise you to review your provider's SMTP setup documentation. If they have made a change, it should be reflected there. Once you've determined what authentication your provider requires, we can see how to configure mailer.py for it. Cheers, Daniel