changes to the send testmail
This commit is contained in:
+1
-1
@@ -13764,7 +13764,7 @@ def test_email():
|
|||||||
#This is for development purposes only.
|
#This is for development purposes only.
|
||||||
|
|
||||||
try:
|
try:
|
||||||
send(email="maximiliangruendinger@gmail.com", subject="Test Email from Inventarsystem", note="This is a test email sent from the Inventarsystem application.")
|
send(email="maximiliangruendinger@gmail.com", subject="Test Email from Inventarsystem", note="This is a test email sent from the Inventarsystem application.", sender="Inventarsystem <no-reply@invario-software.de>")
|
||||||
return "Test email sent successfully."
|
return "Test email sent successfully."
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
return f"Failed to send test email: {str(e)}", 500
|
return f"Failed to send test email: {str(e)}", 500
|
||||||
Reference in New Issue
Block a user