João M. S. Silva <joao.m.santos.silva@gmail.com>


Patch
r1777846

r1777846 | julianfoad | 2017-01-07 13:35:49 -0600 (Sat, 07 Jan 2017)

Allow configuring mailer.py to use SMTP SSL, using a new 'smtp_ssl' option
in the [general] section of mailer.conf.

Discussed in users@ thread "post-commit hook" around 2016-12-22, archived at
e.g. https://svn.haxx.se/users/archive-2016-12/0104.shtml and in dev@ thread
"[PATCH] add SMTP SSL capability to mailer" started on 2016-12-22, archived
at e.g. https://svn.haxx.se/dev/archive-2016-12/0012.shtml

* tools/hook-scripts/mailer/mailer.conf.example
  (general): Add an example of the new option.

* tools/hook-scripts/mailer/mailer.py
  (SMTPOutput): Use smtplib.SMTP_SSL instead of smtplib.SMTP if the option
    is set.

Patch by: João M. S. Silva <joao.m.santos.silva{_AT_}gmail.com>
Tweaked by me.