[Twisted-Python] SMTP authentication

Phil Mayers p.mayers at imperial.ac.uk
Tue Jul 24 06:54:43 EDT 2012


On 24/07/12 11:36, Sarah Addis wrote:
> I am currently trying to use a SMTP server to send emails. However I
> keep getting the same python authentication error outlined below. The
> SMTP server requires authentication and can advertise CRAM-MD5 as an
> accepted authentication method but fails when the client tries to use
> it. No other methods are tried after the failure, Python's smtplib just
> raises an Exception. I have attached the traceback below

Can you show how you are using the Twisted SMTP code?

IIRC the Twisted SMTP stuff has support for handling auth errors and 
trying other methods; it should "just work".



More information about the Twisted-Python mailing list