Re: [Dorset] Python email problem SOLVED

2024-08-16 Thread Graeme Gemmill
Thanks to a comment from Ian Morris that credentials were exchanged in base64 encoding, I investigated what data was actually passed. I have recently changed my email password, and to add some special characters, I added \\ to the end of the password string, forgetting that in certain situations,

Re: [Dorset] Python email problem

2024-08-16 Thread Ian Morris via dorset
So Plain and Login are just two different ways of authentication with an SMTP server; they serve the same purpose but different servers can, in theory, offer different methods. https://www.ionos.co.uk/digitalguide/e-mail/technical-matters/smtp-auth/ the ehlo shouldn't really matter, that's jus

Re: [Dorset] Python email problem

2024-08-14 Thread Ian Morris via dorset
   smtp = smtplib.SMTP_SSL(SMTP_MAILSERVER)    smtp.login(SMTP_USER,SMTP_PASSWORD)    toaddrs = [send_to] + carboncopies    smtp.sendmail(send_from, toaddrs, msg.as_string())    smtp.close() works for me. The mail server is siteground (https://www.siteground.co.uk/); cou