You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple mail corrupts incoming attachment file names, when not ASCII (question marks)

Seems like this has been a problem forever, with some posts from more than 10 years ago.


When downloading attachments from gmail in macOS's Mail app, the filename is incorrectly parsed which results in unreadable filename with question marks.


For example, in a recent mail with an attachment, if viewing raw mail message from the app, the chunk with the attachment has the filename clearly set as UTF-8:

--000000000000a5b9f405d3f2184e
Content-Type: application/pdf; name="=?UTF-8?B?16fXkdec15Rf16LXnF/Xqteo15XXnteUXzEwNw==?=
	=?UTF-8?B?NjQ5LnBkZg==?="
Content-Disposition: attachment; 
	filename="=?UTF-8?B?16fXkdec15Rf16LXnF/Xqteo15XXnteUXzEwNzY0OS5wZGY=?="
Content-Transfer-Encoding: base64
...


Decoding b64 "16fXkdec15Rf16LXnF/Xqteo15XXnteUXzEwNzY0OS5wZGY=" (in UTF-8) results in "קבלה_על_תרומה_107649.pdf" which is how the filename is displayed in gmail on the web, or through other app clients. However, Apple Mail gets it as "????_? ?_???? ?_107649.pdf"


I don't understand why this hasn't been fixed in the Mail app when it seems to be somewhat maintained.

Mac mini, macOS 12.1

Posted on Dec 24, 2021 11:21 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 30, 2021 4:59 AM

nomaed wrote:

Seems like this has been a problem forever, with some posts from more than 10 years ago.

When downloading attachments from gmail in macOS's Mail app, the filename is incorrectly parsed which results in unreadable filename with question marks.


I don't understand why this hasn't been fixed in the Mail app when it seems to be somewhat maintained.


You can submit your bug report feedback directly to the Product team— if they need more information they will contact you:

submit your Apple Feedback /bug report https://www.apple.com/feedback/mail.html


Alternatively— Apple Support

Call Customer Support (800) MY–APPLE (800–692–7753)

or on line https://getsupport.apple.com/



Similar questions

2 replies
Question marked as Top-ranking reply

Dec 30, 2021 4:59 AM in response to nomaed

nomaed wrote:

Seems like this has been a problem forever, with some posts from more than 10 years ago.

When downloading attachments from gmail in macOS's Mail app, the filename is incorrectly parsed which results in unreadable filename with question marks.


I don't understand why this hasn't been fixed in the Mail app when it seems to be somewhat maintained.


You can submit your bug report feedback directly to the Product team— if they need more information they will contact you:

submit your Apple Feedback /bug report https://www.apple.com/feedback/mail.html


Alternatively— Apple Support

Call Customer Support (800) MY–APPLE (800–692–7753)

or on line https://getsupport.apple.com/



Apple mail corrupts incoming attachment file names, when not ASCII (question marks)

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.