I am on a Linux machine. My company has an email exchange server that is already configured. I am using a Python script to try logging into an email server so that I can send emails programmatically. Here is what I still have -
server = smtplib.SMTP('email-0.abc.com', 25) server.set_debuglevel(1) server.ehlo_or_helo_if_needed() server.login('abc/johndoe', 'pwd')
However, in the server.login command, I get an error like
raise SMTPException("No suitable authentication method found.") SMTPException: No suitable authentication method found.
Does anyone know what the problem is, please?
thanks
Nupur
source share