https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28729

--- Comment #40 from Martin Renvoize <[email protected]> ---
Created attachment 126436
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=126436&action=edit
Bug 28729: Reverse 'sender' and 'from'

Having read through the docs for both Email::Stuffer (Email::Sender) and
Mail::Sendmail, I believe the meaning of 'from' and 'Sender' has
reversed between the two modules.

Email::Sendmail interpreted 'from' as the from address of the mail and
used Sender as an override for the envelope when it was passed. However,
in Email::Stuffer the 'from' is set at the envelope level and thus sets
the connection 'MAIL FROM' which is subsequently used as the return-path
by the mail server. It then uses 'Sender' as the message from address if
one is passed in as a header.

This patch reverses our handling of those attribute in Koha::Email.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to