drewr / postal

Clojure email support
MIT License
587 stars 85 forks source link

Allow envelope sender override per message #48

Open sumbach opened 10 years ago

sumbach commented 10 years ago

Work in progress

This is just a failing test demonstrating the behavior I'd like to see. There is currently some inconsistency between sendmail and smtp transports:

Ideally, the :sender key could be used to set the SMTP envelope sender for both the smtp and sendmail transports. To make this happen, we will need to create a new Session instance for each message with a :sender key.

What do you think?

jeremyheiler commented 10 years ago

I don't have commit rights, but this makes sense to me.