v0.2.4: Dedicated envelope from address
This release adds support for setting a different envelope from address than the actual from address in the mail body. We've added two methods:
Msg.EnvelopeFrom()
which will set the envelope from address analogous to theMsg.From()
methodMsg.EnvelopeFromFormat()
which will set a formated envelope from address analogous to theMsg.FromFormat()
method
Msg.GetSender()
which is used by the Client
has been adjusted to return the envelope from in favour of the mail body from address. If no envelope from is set, it will still use the normal mail body from address as envelope from. The MsgWriter
has been adjusted accordingly to only use the envelope from address if the mail body from address is not set.
Noteworthy changes
- #21 implements the envelope from changes