From b334c327b6c2a613fe9c3c7bafc9d8de6a9b5b9f Mon Sep 17 00:00:00 2001 From: Ward Poelmans Date: Fri, 25 Nov 2022 11:29:59 +0100 Subject: [PATCH] use port 25 with starttls instead of 587 for mailing by default --- lib/vsc/utils/mail.py | 4 ++-- setup.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/vsc/utils/mail.py b/lib/vsc/utils/mail.py index 384eb237..a6bd3e8b 100644 --- a/lib/vsc/utils/mail.py +++ b/lib/vsc/utils/mail.py @@ -72,10 +72,10 @@ class VscMail(object): def __init__( self, mail_host='', - mail_port=587, + mail_port=25, smtp_auth_user=None, smtp_auth_password=None, - smtp_use_starttls=False, + smtp_use_starttls=True, mail_config=None): """ - If there is a config file provided, its values take precedence over the arguments passed to __init__ diff --git a/setup.py b/setup.py index d59a75ef..0d13e492 100755 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ ] PACKAGE = { - 'version': '3.4.9', + 'version': '3.4.10', 'author': [sdw, jt, ag, kh], 'maintainer': [sdw, jt, ag, kh], # as long as 1.0.0 is not out, vsc-base should still provide vsc.fancylogger