mikedilger / email-format

Email data structure and builder for streaming emails
Apache License 2.0
17 stars 5 forks source link

Support for custom headers? #23

Closed darnir closed 5 years ago

darnir commented 5 years ago

I'd like to use this crate in my application and am missing one crucial feature. I want to add custom headers to the email struct I create and then save it to disk.

I did not see anything in the documentation that allows custom / arbitrary email headers to be added to the email. Could you please implement this feature?

mikedilger commented 5 years ago

Search the docs for OptionalField

This crate is still missing a lot of email headers that were defined outside of RFC5322, but luckily custom fields were in that standard.