enmime icon indicating copy to clipboard operation
enmime copied to clipboard

Use Envelope to send, or create a pre-filled message builder

Open dolanor opened this issue 4 years ago • 1 comments

Hi,

What I did: use the lib and parsed an envelope, changed some from: and to: fields

What I expected: use the envelope as is to send it through smtp with the updated from: and to:

What I got: no API exists to get that modified envelope without building it from scratch with the Builder

Release or branch I am using: v0.8.1

dolanor avatar Jul 01 '20 21:07 dolanor

The builder is a simplified subset of what's possible in MIME, so Builder can convert to Envelope, but not the other way around. However, we could add a Send function to Envelope as well.

jhillyerd avatar Jul 02 '20 15:07 jhillyerd