]> git.koha-community.org Git - koha.git/commit
Bug 32575: Add an empty text body to fix multipart/mixed handling
authorDavid Cook <dcook@prosentient.com.au>
Mon, 17 Jun 2024 02:23:36 +0000 (02:23 +0000)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 28 Jun 2024 11:49:20 +0000 (13:49 +0200)
commit3e1d8b0628d5149806770ae767e7d5228b6e31e2
tree97dd2825c7e9572dd856117b5ac47bfab3424ea2
parent05432982cf8a407872fd643206a14550c0d0a53a
Bug 32575: Add an empty text body to fix multipart/mixed handling

By adding an empty text body, we force Email::Stuffer/Email::MIME
to use multipart/mixed handling for the attachment instead of forcing
a single part (ie direct attachment) email, which is not consistently
handled by different email clients.

An empty text body is language-neutral (ie not imposing English),
and it allows SMTP servers to inject organisational footers into
the email (e.g. confidentiality notices).

Signed-off-by: Magnus Enger <magnus@libriotech.no>
I have tested this solution in production, and it works for me.

Bug 32575: Tidy patch

Signed-off-by: Magnus Enger <magnus@libriotech.no>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
misc/cronjobs/gather_print_notices.pl