mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
Merge pull request #3459 from beeankha/email_timeout_option
Provide Default Email Timeout Value Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -18,10 +18,11 @@ class CustomEmailBackend(EmailBackend):
|
||||
"use_ssl": {"label": "Use SSL", "type": "bool"},
|
||||
"sender": {"label": "Sender Email", "type": "string"},
|
||||
"recipients": {"label": "Recipient List", "type": "list"},
|
||||
"timeout": {"label": "Timeout", "type": "int"}}
|
||||
"timeout": {"label": "Timeout", "type": "int", "default": 30}}
|
||||
recipient_parameter = "recipients"
|
||||
sender_parameter = "sender"
|
||||
|
||||
|
||||
def format_body(self, body):
|
||||
if "body" in body:
|
||||
body_actual = body['body']
|
||||
|
||||
Reference in New Issue
Block a user