Change email notification success/fail messages and add a timeout feature

This commit is contained in:
beeankha
2019-03-14 16:37:22 -04:00
parent bf1769af6c
commit 66a52655df
4 changed files with 34 additions and 7 deletions
+2 -1
View File
@@ -17,7 +17,8 @@ class CustomEmailBackend(EmailBackend):
"use_tls": {"label": "Use TLS", "type": "bool"},
"use_ssl": {"label": "Use SSL", "type": "bool"},
"sender": {"label": "Sender Email", "type": "string"},
"recipients": {"label": "Recipient List", "type": "list"}}
"recipients": {"label": "Recipient List", "type": "list"},
"timeout": {"label": "Timeout", "type": "int"}}
recipient_parameter = "recipients"
sender_parameter = "sender"