Requires SMTP server to support TLS
Bug #460320 reported by
Nicholas Allen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-email-notifier |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Due to a change in Python 2.6 the SMTP server is required to support TLS. This is because it now throws an exception instead of returning an error code. The fix was incorporated into the bzr-email plugin and the same fix should work for bzr-email-notifier too. (see bug 335332).
Related branches
Changed in bzr-email-notifier: | |
status: | New → Fix Committed |
To post a comment you must log in.
I used this to bypass STARTTLS if not available on the mail server
# If this fails, it just returns an error, but it shouldn't raise an n.has_extn( 'STARTTLS' ):
self. _connection. starttls( )
self. _connection. ehlo()
# exception unless something goes really wrong (in which case we want
# to fail anyway).
if self._connectio