I have made a small change to zmfilter.pl to make sure pictures sent through mail would be considered as in-line attachments and not simple attachments (which sometimes forces to download the attachment before being able to see it depending on the email client in use).
Here is the difference (diff between zmfilter.pl and patched version):
Code: Select all
1012,1015d1011
< Type => "multipart/related"
< );
<
< $mail->attach(
1020,1021d1015
< my $attachment_count = 1;
<
1028,1029c1022
< Encoding => "base64",
< Id => "attachment_$attachment_count"
---
> Encoding => "base64"
1031d1023
< $attachment_count++;
Rgds,
L.