[Koha-bugs] [Bug 28729] Return-path header not correctly set in emails
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jul 28 11:32:17 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28729
--- Comment #5 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
> My proposed fix would be:
>
> diff --git a/C4/Letters.pm b/C4/Letters.pm
> index 177a4f51f67..ca02293c492 100644
> --- a/C4/Letters.pm
> +++ b/C4/Letters.pm
> @@ -1372,6 +1372,7 @@ sub _send_message_by_email {
> my $from_address =
> $message->{'from_address'}
> || $branch_email
> + || $branch_returnpath
> || C4::Context->preference('KohaAdminEmailAddress');
> if( !$from_address ) {
> _set_message_status({
>
> But I am not sure what should be used for "From" and "Sender".
This change would be wrong - the From address correct with branchemail or
KohaAdminEmailAddress.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list