@@ -, +, @@ --- Koha/Email.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- a/Koha/Email.pm +++ a/Koha/Email.pm @@ -150,10 +150,16 @@ sub create { $email->send_or_die({ transport => $transport [, $args] }); -Overloaded Email::Stuffer I method, that takes care of Bcc handling. +Overloaded Email::Stuffer I method, that takes care of Bcc and Return-path +handling. + Bcc is removed from the message headers, and included in the recipients list to be passed to I. +Return-path, 'MAIL FROM', is set to the 'Sender' email header unless an explicit 'from' +parameter is passed to send_or_die. 'Return-path' headers are actually set by the MTA, +usually using the 'MAIL FROM' information set at mail server connection time. + =cut sub send_or_die { --