Skip to content

Commit

Permalink
-use_ssl added
Browse files Browse the repository at this point in the history
  • Loading branch information
habanoz committed Nov 30, 2019
1 parent 4494abf commit 2939ad8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/email.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ smtp.host =
smtp.port =
sender =
recipients =
use_ssl=
2 changes: 1 addition & 1 deletion src/emails/email_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def check_and_create_ini(self):

with open(EMAIL_INI_PATH, "w") as f:
f.writelines(["[DEFAULT]\n", USER + NL, PASS + NL, HOST + NL, PORT + NL, SENDER + NL,
RECIPIENTS + NL])
RECIPIENTS + NL + USE_SSL+NL])

def send_payment_mail(self, cyle, payments_file, nb_failed, nb_unknown):
if not self.email_sender:
Expand Down

0 comments on commit 2939ad8

Please sign in to comment.