changes to the send testmail

This commit is contained in:
2026-09-17 20:30:48 +02:00
parent fa55717f7f
commit a4cf9626cd
+1 -1
View File
@@ -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