Do you mean the smtp.py file? I&#39;m not authorized to display all the code from this file, what should I be looking for specifically?<br><br><div class="gmail_quote">On 24 July 2012 11:54, Phil Mayers <span dir="ltr">&lt;<a href="mailto:p.mayers@imperial.ac.uk" target="_blank">p.mayers@imperial.ac.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 24/07/12 11:36, Sarah Addis wrote:<br>
&gt; I am currently trying to use a SMTP server to send emails. However I<br>
&gt; keep getting the same python authentication error outlined below. The<br>
&gt; SMTP server requires authentication and can advertise CRAM-MD5 as an<br>
&gt; accepted authentication method but fails when the client tries to use<br>
&gt; it. No other methods are tried after the failure, Python&#39;s smtplib just<br>
&gt; raises an Exception. I have attached the traceback below<br>
<br>
</div>Can you show how you are using the Twisted SMTP code?<br>
<br>
IIRC the Twisted SMTP stuff has support for handling auth errors and<br>
trying other methods; it should &quot;just work&quot;.<br>
<br>
_______________________________________________<br>
Twisted-Python mailing list<br>
<a href="mailto:Twisted-Python@twistedmatrix.com" target="_blank">Twisted-Python@twistedmatrix.com</a><br>
<a href="http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python" target="_blank">http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python</a><br>
</blockquote></div><br>