changes to have the test email function
This commit is contained in:
+1
-1
@@ -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
|
||||
Reference in New Issue
Block a user