v0.2.4: Dedicated envelope from address #23
Locked
wneessen
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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()
methodMsg.GetSender()
which is used by theClient
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. TheMsgWriter
has been adjusted accordingly to only use the envelope from address if the mail body from address is not set.Noteworthy changes
This discussion was created from the release v0.2.4: Dedicated envelope from address.
Beta Was this translation helpful? Give feedback.
All reactions