SMTPServerDisconnetion while using SMTPS/SSL
|Reported by:||kai||Owned by:||hasienda|
|Severity:||normal||Keywords:||TracNotification smtps SMTP_SSL SMTPServerDisconnetion|
Description (last modified by rjollos)
I'm using the Italian ISP Aruba smtps server to send ticket notifications.
I get the following error (email address is obfuscated):
2012-10-15 10:55:50,420 Trac[notification] INFO: Sending notification through SMTP at smtps.aruba.it:465 to [u'xxxxxxxxx@xxxxxxxx'] 2012-10-15 11:00:51,398 Trac[web_ui] ERROR: Failure sending notification on creation of ticket #1: SMTPServerDisconnected: Connection unexpectedly closed
After investigating a bit, I discovered that stmps.aruba.it is not compatible with the starttls option, but requires anyway an encrypted connection.
For this purpose, smtp server from smtplib must be an instance of SMTP_SSL without setting use_tls in the config page.
Please find the modified version in attachment.
Change History (11)
Changed 22 months ago by kai
comment:1 Changed 22 months ago by rjollos
- Component changed from TracHacks to AnnouncerPlugin
- Description modified (diff)
- Owner changed from otaku42 to doki_pen
Changed 21 months ago by kai
comment:4 follow-up: ↓ 7 Changed 21 months ago by hasienda
- Keywords needinfo added
- Owner changed from doki_pen to hasienda