mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
wio-lib.pl: Fixes bug#13040 - Change multipart/mixed to multipart/alternative
- Thunderbird and Roundcube mail clients presume that any mail with Content Type of multipart/mixed has an attachment included rather than actually checking for disposition attachment. This means that any mail with multipart/mixed gets the attachment icon marked up even though there is no attachment. - Although this is a problem of the clients involved, in this case the simplest solution is to change multipart/mixed to multipart/alternative as WIO Mail only sends text without any attachment or other part to indicate that a client is active or inactive. - Confirmed on my vm testbed Fixes: Bug#13040 Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
670981e648
commit
c151ca241b
@@ -157,7 +157,7 @@ sub mailsender {
|
||||
From => $mailsettings{'SENDER'},
|
||||
To => $mailsettings{'RECIPIENT'},
|
||||
Subject => $_[0],
|
||||
Type => 'multipart/mixed'
|
||||
Type => 'multipart/alternative'
|
||||
);
|
||||
|
||||
$msg->attach(
|
||||
|
||||
Reference in New Issue
Block a user