Adding TLS Support to Trac’s WikiNotifyScript

Scott StultsMarch 6, 2007

We’ve been using the WikiNotifyScript from for quite a while now. It helps us stay appraised of changes to all of our various wiki’s and it’s pretty easy to set up. However, when I had the brilliant idea of switching it to use Gmail as the SMTP server I ran into a snag: Gmail only supports logins through TLS. Recent Trac releases support TLS through smtplib, but unfortunately WikiNotifyScript doesn’t share that code.

After a quick grep through the trac source I found the magic incantation nestled inside It was a pretty simple matter to port what trac does over to WikiNotifyScript, so after a brief round of testing I posted the patch over on WikiNotifyScript’s trac. Hopefully that’ll save somebody some trouble.

More blog articles:

Let's do a project together!

We provide tailored search, discovery and personalization solutions using Solr and Elasticsearch. Learn more about our service offerings