Compare commits

..

6 Commits

Author SHA1 Message Date
Aiirondev_dev a4cf9626cd changes to the send testmail 2026-09-17 20:30:48 +02:00
Aiirondev_dev fa55717f7f changes to have the test email function 2026-09-17 20:22:30 +02:00
Aiirondev_dev 4943aff944 changes to the email processing 2026-09-17 20:13:26 +02:00
Aiirondev_dev ee1683abe1 fix of faulty spelling 2026-09-17 19:59:35 +02:00
Aiirondev_dev 320acb5256 changes to the email sending 2026-09-17 19:36:48 +02:00
Aiirondev_dev 7b2a6d7bc1 test mail sender 2026-09-17 19:28:24 +02:00
3 changed files with 15 additions and 3 deletions
+13 -1
View File
@@ -13755,4 +13755,16 @@ def upload_csv_batch():
"images_processed": processed_count,
"images_deduplicated": dedup_count,
"images_failed": error_count
}), 200
}), 200
@app.route('/test_email')
def test_email():
#Test endpoint to send a sample email.
#This is for development purposes only.
try:
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."
except Exception as e:
return f"Failed to send test email: {str(e)}", 500
+1 -1
View File
@@ -17,7 +17,7 @@ def _build_smtp_client():
if True:
smtp.starttls()
smtp.ehlo()
smtp.login("no-reply@invario-software.de", "#,EATwIn,68")
smtp.login("no-reply@invario-software.de", "eSpage,65,{")
return smtp
+1 -1
View File
@@ -3,7 +3,7 @@ import Web.modules.terminplaner.backend_server as appointment_service
import Web.modules.database.settings as cfg
import Web.modules.database.termine as termin
import Web.modules.database.user as us
from Web.modules.emailservice.email import send_pdf
from Web.modules.emailservice.email import send, send_pdf
from Web.modules.terminplaner.backend_server import _resolve_public_base_url
import csv
import io