views:

380

answers:

1

I'm trying to send emails from a python script with smtplib, and it works with no problems with smtp through Exchange 2003, but with Exchange 2007 shows:

SMTPException: No suitable authentication method found.

Python code is the same in both cases (except server and login information of course).

I'm passing username and password in a script in plain text, and looks like Exchange 2007 is not configured to work with AUTH_PLAIN = "PLAIN" (line 545 of smtplib.py), and I don't know where to disable ssl there.

Would appreciate any ideas.

A: 

This article describes how to configure Exchange 2007 for plain text auth.

Benji York