Mercurial > hg
diff .hgignore @ 13201:f05250572467
smtp: fix for server doesn't support starttls extension
Currently we only support enabling TLS by using SMTP STARTTLS extension. But
not all the servers support it.
With this patch, user can choose which way to enable TLS:
* Default:
tls = none
port = 25
* To use STARTTLS:
tls = starttls
port = 465
* To use SMTP over SSL:
tls = smtps
port = 465
To keep backward compatibility, when tls = true, we use STARTTLS to enable TLS.
Signed-off-by: Zhigang Wang <w1z2g3@gmail.com>
author | Zhigang Wang <zhigang.x.wang@oracle.com> |
---|---|
date | Mon, 20 Dec 2010 16:56:54 +0800 |
parents | 2bb6dbf04757 |
children | 91fe769ac84e |