Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mrenvoize
Copy link
Contributor

Details

Detect whether a Message-ID header has been included in the message passed to MessageToMTA and generate one if it's missing.

GMail and other modern mail services now expect a Message-ID as part of the message else they mark them as spam or drop them entirely.

Additional info

Detect whether a Message-ID header has been included in the message
passed to MessageToMTA and generate one if it's missing.

GMail and other modern mail services now expect a Message-ID as part of
the message else they mark them as spam or drop them entirely.
@mrenvoize
Copy link
Contributor Author

I would have liked to make the new build_message_id sub a little more generic and use it for both build_thread_marker and MessageToMTA, but I felt we could do that at a later stage.

I'm also not entirely sure about the user-id inclusion here.. I'm not close enough to the codebase with regards to how Bugzilla->user works yet to know whether it will get the right user in this case.. I also wasn't sure how I could get back to the userid within MessateToMTA.. I wondered about trying to extract the 'To' address and perform a lookup of users on that?

Anyway, here's a first draft for review. Unit tests also to follow once I've had some initial feedback.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant