Requires SMTP server to support TLS

Bug #460320 reported by Nicholas Allen
6
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
Revision history for this message
John D (v-jbd) wrote :

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
        # exception unless something goes really wrong (in which case we want
        # to fail anyway).
        if self._connection.has_extn('STARTTLS'):
            self._connection.starttls()
            self._connection.ehlo()

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.