[Mimedefang] Migrating boilerplate signature fronte altermime

Dianne Skoll dianne at skoll.ca
Fri Jan 11 10:57:06 EST 2019


On Fri, 11 Jan 2019 16:16:23 +0100
Riccardo Bicelli <r.bicelli at gmail.com> wrote:

> 1. Images
> With altermime is nearly impossible to add images as attached/boundary
> so I have to insert them as base64 ecoded in img tag. With mimedefang
> Is there a way to add images boundary in boilerplate?

> 2. Base64 encoded messages
> Some mobile devices send messages encoded in base64. Is it possible
> adding a base64 boilerplate in Mimedefang?

Both of your questions have the same answer; you need to build up a
new MIME message in filter_end using the MIME::tools methods to
manipulate the message, and then call replace_entire_message to
replace the message with your newly-constructed message.  This lets
you do any sort of message-manipulation you can think of.

It's up to you to be careful and make sure you end up with something
sensible that doesn't cause failures in email clients that you care
about.  In particular, mobile clients may be very fussy about the
sorts of messages they display correctly.

Regards,

Dianne.



More information about the MIMEDefang mailing list