https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28729
--- Comment #34 from Ulrich Kleiber <[email protected]> --- With this patch only the envelope-from is changed. After that, emailing under 20.11 behaves much like emailing under 18.11. At least that's true for our installations. It's not pretty and I don't know if it covers everything or has any negative side effects. I hope this helps with further troubleshooting. --- Email.pm 2021-07-29 11:07:24.560924469 +0200 +++ Email.pm.patched 2021-07-29 16:33:26.636468041 +0200 @@ -173,6 +173,9 @@ $args->{to} = \@recipients; } + $args->{from} = $self->email->header("Sender") || C4::Context->preference('KohaAdminEmailAddress'); + Koha::Exceptions::BadParameter->throw("Invalid 'from' parameter: ".$args->{from}) + unless Email::Valid->address( -address => $args->{from}, -fqdn => 0 ); # from is mandatory $self->SUPER::send_or_die($args); } -- 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/
