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

This commit is contained in:
beeankha
2019-02-12 16:17:57 -05:00
parent bf1769af6c
commit 66a52655df
4 changed files with 34 additions and 7 deletions

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"