Merge pull request #877 from gdeeble/v4.3-dev-fix-test-email

Fix: Test email failure
pull/879/head
Donald Zou 2025-09-15 11:35:30 +08:00 committed by GitHub
commit 5a84136d87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1310,6 +1310,7 @@ def API_Email_Send():
if "Receiver" not in data.keys() or "Subject" not in data.keys():
return ResponseObject(False, "Please at least specify receiver and subject")
body = data.get('Body', '')
subject = data.get('Subject','')
download = None
if ("ConfigurationName" in data.keys()
and "Peer" in data.keys()):