[open-event-legacy/deploy] debug: Don't expect a username and password for SMTP



commit 8e0c42417bf14ea1d9a01d0d717e67bec49acb8b
Author: Tom Tryfonidis <tomtryf gmail com>
Date:   Sat Apr 6 01:21:05 2019 +0300

    debug: Don't expect a username and password for SMTP

 app/helpers/helpers.py | 4 ++--
 app/helpers/tasks.py   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/helpers/helpers.py b/app/helpers/helpers.py
index 9c7c4bfa..47e0aca8 100644
--- a/app/helpers/helpers.py
+++ b/app/helpers/helpers.py
@@ -424,8 +424,8 @@ def send_email(to, action, subject, html):
 
                 config = {
                     'host': get_settings()['smtp_host'],
-                    'username': get_settings()['smtp_username'],
-                    'password': get_settings()['smtp_password'],
+                    #'username': get_settings()['smtp_username'],
+                    #'password': get_settings()['smtp_password'],
                     'encryption': smtp_encryption,
                     'port': get_settings()['smtp_port'],
                 }
diff --git a/app/helpers/tasks.py b/app/helpers/tasks.py
index fa37484f..5e85f087 100644
--- a/app/helpers/tasks.py
+++ b/app/helpers/tasks.py
@@ -34,8 +34,8 @@ def send_mail_via_smtp_task(config, payload):
         'transport': {
             'use': 'smtp',
             'host': config['host'],
-            'username': config['username'],
-            'password': config['password'],
+            #'username': config['username'],
+            #'password': config['password'],
             'tls': config['encryption'],
             'port': config['port']
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]