summaryrefslogtreecommitdiff
path: root/frest/mail.py
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2020-11-05 11:55:38 +0100
committerSanto Cariotti <santo@dcariotti.me>2020-11-05 11:55:38 +0100
commit9e2cb802005887cbd2480ef02a48603e1d174ca3 (patch)
treec61ea63eb9d8ce8b831273947e8c25efaa379024 /frest/mail.py
parentb15544d35f53150d7969a07f502aa76493f2ad22 (diff)
fix: default imported modules
Diffstat (limited to 'frest/mail.py')
-rw-r--r--frest/mail.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/frest/mail.py b/frest/mail.py
new file mode 100644
index 0000000..e553525
--- /dev/null
+++ b/frest/mail.py
@@ -0,0 +1,11 @@
+from flask_mail import Mail
+
+mail = Mail()
+config = {
+ "SERVER": "",
+ "PORT": 587,
+ "USE_TLS": True,
+ "USERNAME": "",
+ "DEFAULT_SENDER": "",
+ "PASSWORD": "",
+}