SMTPServerDisconnetion while using SMTPS/SSL
|Reported by:||Stefano Cailotto||Owned by:||Steffen Hoffmann|
|Severity:||normal||Keywords:||TracNotification smtps SMTP_SSL SMTPServerDisconnetion|
Description (last modified by )
Hello, 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)
comment:1 Changed 5 years ago by
|Component:||TracHacks → AnnouncerPlugin|
|Owner:||changed from Michael Renzmann to Robert Corsaro|
comment:4 follow-up: 7 Changed 4 years ago by
|Owner:||changed from Robert Corsaro to Steffen Hoffmann|