<br><br><div class="gmail_quote">On Tue, Jul 24, 2012 at 10:16 AM, Sarah Addis <span dir="ltr">&lt;<a href="mailto:sarahaddis3@gmail.com" target="_blank">sarahaddis3@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok.. so I have found this piece of code in my smtp.py file:<br><br>    def _registerAuthenticators(self):<br>        # Register Authenticator in order from most secure to least secure<br>        self.registerAuthenticator(CramMD5ClientAuthenticator(self.username))<br>

        self.registerAuthenticator(LOGINAuthenticator(self.username))<br>        self.registerAuthenticator(PLAINAuthenticator(self.username))<br> <br>so if I switch the order around to put PLAINAuthenticator first will this hopefully work?<br>
</blockquote><div><br>Yes, or just remove CRAMMD5 altogether. Unfortunately, this involves a bunch of copy/pasting to recreate sendmail() or ESMTPSenderFactory with an ESMTPClient that doesn&#39;t have that line, or editing Twisted code, but it should solve it hopefully. <br>
<br>The fix Phil suggested (falling back if CRAM-MD5 fails) would solve this long term, as would some way to specify which authenticators you want as part of the high-level sendmail() API.<br></div></div>