Fix some issues 12

This commit is contained in:
2026-01-26 10:25:07 +01:00
parent ee906cae8f
commit 3644334359
3 changed files with 319 additions and 1 deletions

View File

@@ -345,7 +345,9 @@ class EmailService:
logger.debug("Skipping SMTP authentication - trusted relay mode")
# Send email
await server.send_message(message, from_addr=from_email, to_addrs=[to_email])
# Note: aiosmtplib send_message doesn't use from_addr/to_addrs parameters
# The From/To headers are already set in the MIME message
await server.send_message(message)
# Close connection
await server.quit()