Skip to content

Add Message-ID header to outgoing emails - #2561

Open
NiceGuyIT wants to merge 1 commit into
amidaware:developfrom
NiceGuyIT:fix/add-email-message-id
Open

NiceGuyIT wants to merge 1 commit into
amidaware:developfrom
NiceGuyIT:fix/add-email-message-id

Conversation

@NiceGuyIT

Copy link
Copy Markdown
Contributor

Gmail rejects messages without a Message-ID (RFC 5322). Gmail adds the Message-ID automatically; other email servers do not. This fixes sending emails to Gmail when the SMTP settings are not Gmail.

Gmail rejects messages without a Message-ID (RFC 5322). Some SMTP servers such as Stalwart do not add one, so set it in CoreSettings.send_mail and the script results email in agents/tasks.py.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant