[Mimedefang] Problem with MIME::Tools and base64 encoded message/rfc822 attachements

Dianne Skoll dfs at roaringpenguin.com
Mon Jul 27 23:03:43 EDT 2015

On Tue, 28 Jul 2015 00:35:52 +0200
Franz Schwartau <franz at electromail.org> wrote:

> Why doesn't it work with a base64 encoded attachement?

RFC 2046, section 5.2.1: https://tools.ietf.org/html/rfc2046#section-5.2.1

   No encoding other than "7bit", "8bit", or "binary" is permitted for
   the body of a "message/rfc822" entity.

So the answer is in the RFC: You're not allowed to use base64 encoding
for a message/rfc822 attachment.



More information about the MIMEDefang mailing list