Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message.Encoder and a few other bits #6

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dra27
Copy link
Contributor

@dra27 dra27 commented Aug 26, 2018

This PR exposes Message.Encoder and expands the PoC implementation to include serialising message types and toplevel headers. I've tweaked the order of a few fields (within, I believe, the RFCs in all cases) just as it was easier when diffing against other mail libraries.

This is working on a production server where I decode an email, do some processing on it, generate a new email (as a Message.message) which, amongst other things, includes the original email as an attachment and then serialise that message using Message.Encoder

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.

None yet

1 participant