Disorder in term SSL, TLS and simple mail

Bug #462046 reported by Christophe CRIER
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Power Email
Fix Released
High
Sharoon Thomas http://openlabs.co.in

Bug Description

Hi,

I have installed and tested poweremail to send email in multiple configuration :
 - SMTP simple (without authentication) : Not working because poweremail try to login on SMTP server when SMTP server don't accept connection.
 - SMTP with TLS : Work good but disorder in terms because in form i have selected 'use SSL'.
 - SMTP with SSL : Not working in python 2.5 (not supported by smtplib), smtplib support SSL connection in Python 2.6 (but now it's buggy yet)

You can find my suggestion in attachement.

PS: I have also had a possibility to send an test email when we test the outgoing connection.

Regards

Related branches

Revision history for this message
Christophe CRIER (christophe-crier) wrote :
Revision history for this message
Dukai Gábor (gdukai) wrote :

Hello,

Please add SMTP_SSL support, there are some severs that don't work with starttls(). We can't use poweremail without doing replacing the starttls() code with something like this:
                    if rec.smtpssl:
                        serv = smtplib.SMTP_SSL(rec.smtpserver, rec.smtpport)
                    else:
                        serv = smtplib.SMTP(rec.smtpserver, rec.smtpport)
                    serv.ehlo()

Changed in poweremail:
assignee: nobody → shal(Openlabs.co.in) (shalabh-aggarwal)
importance: Undecided → High
milestone: none → 0.7
status: New → Confirmed
Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

Can you check and confirm if the solution seems fine?

Changed in poweremail:
assignee: shal(Openlabs.co.in) (shalabh-aggarwal) → Sharoon Thomas http://openlabs.co.in (sharoonthomas)
status: Confirmed → Fix Committed
Revision history for this message
Dukai Gábor (gdukai) wrote :

Sorry, forgot to subscribe to the bug.

Yes, this fix works for me, thank you.

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) wrote :

Thanks for confirming,

Marking the bug as Fixed

Changed in poweremail:
status: Fix Committed → Fix Released
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.