Replacing Illegal Characters in MIME Headers

You cannot use spaces and other illegal characters in any part of a MIME header, including attachment content IDs.

To ensure proper handling of MIME messages, any spaces and other illegal characters are automatically replaced with the appropriate equivalents, such as underscores, in accordance with RFC 2047 coding standards.