changes to have the test email function

This commit is contained in:
2026-09-17 20:22:30 +02:00
parent 4943aff944
commit fa55717f7f
+1 -1
View File
@@ -13764,7 +13764,7 @@ def test_email():
#This is for development purposes only.
try:
send(to_email="maximiliangruendinger@gmail.com", subject="Test Email from Inventarsystem", body="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.")
return "Test email sent successfully."
except Exception as e:
return f"Failed to send test email: {str(e)}", 500