##// END OF EJS Templates
mail: actually use the verifycert config value...
Pierre-Yves David -
r23223:a4af6fd9 stable
parent child Browse files
Show More
@@ -104,6 +104,7 b' def _smtp(ui):'
104 if util.parsebool(verifycert) is not False:
104 if util.parsebool(verifycert) is not False:
105 raise util.Abort(_('invalid smtp.verifycert configuration: %s')
105 raise util.Abort(_('invalid smtp.verifycert configuration: %s')
106 % (verifycert))
106 % (verifycert))
107 verifycert = False
107 if (starttls or smtps) and verifycert:
108 if (starttls or smtps) and verifycert:
108 sslkwargs = sslutil.sslkwargs(ui, mailhost)
109 sslkwargs = sslutil.sslkwargs(ui, mailhost)
109 else:
110 else:
General Comments 0
You need to be logged in to leave comments. Login now