Open mdsimmo opened 1 year ago
I had a similar need, I ended up building it from scratch by iterating over headers and body parts. I could adapt my code and propose a PR, @mdecimus would you be interested in?
Sure @soywod , a PR would be nice. This functionality should be an optional feature so the mail-parser
dependency is only included when this feature is needed.
Sure @soywod , a PR would be nice. This functionality should be an optional feature so the
mail-parser
dependency is only included when this feature is needed.
In fact I needed a simpler version of this conversion, a complete one would require more work. I keep in mind if one day I have time to complete it.
Is there a convenient way to use this crate in conjunction with your other crate (
mail-parser
) toMessage
to aMessageBuilder
,mail-send
or, in my case, a third party library)Current best solution I have is to copy over field by field. I'm hoping there's a built in way.... '
The use case for this is I'm building a marketing engine. The user sends an email to my app, the app reads the email and adds unsubscribe links, edits content data, etc.