From 87be137b881ab868df30aa7e35923d6f14606c79 Mon Sep 17 00:00:00 2001 From: Peter Date: Thu, 18 Dec 2014 13:34:30 +0200 Subject: Rewrite of SendMail function The SendMail function is rewritten and has the following new functionality: - It is optional to skip verification of keys. The config option SKIP_VERIFY is added - If the port is 465, or ending on 465, the TLS(/SSL) connection is started first. --- conf/app.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'conf') diff --git a/conf/app.ini b/conf/app.ini index 1c7c70be..d6ee6ae4 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -94,7 +94,10 @@ SUBJECT = %(APP_NAME)s ; Mail server ; Gmail: smtp.gmail.com:587 ; QQ: smtp.qq.com:25 +; Note, if the port ends with "465", SMTPS will be used. Using STARTTLS on port 587 is recommended per RFC 6409. If the server supports STARTTLS it will always be used. HOST = +; Do not verify the certificate of the server. Only use this for self-signed certificates +SKIP_VERIFY = ; Mail from address FROM = ; Mailer user name and password -- cgit v1.2.3