Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attachments without optional Content-Disposition headers are not visible in message view #7117

Closed
drboone opened this issue Dec 16, 2019 · 3 comments

Comments

@drboone
Copy link

drboone commented Dec 16, 2019

A MIME attachment part in a multipart/mixed message that does not include the Content-Disposition header (OPTIONAL per RFC2183) will have a paper clip in inbox list view, but no link appears in full message view. Other MUAs, e.g. Thunderbird, Apple Mail, display the attachments properly through the same IMAP server.

E.g. the msword attachment here won't be listed:

MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="000000000000ed63c40599d145b9"
<assorted other headers>

--000000000000ed63c40599d145b9
Content-Type: text/plain; charset="UTF-8"

Hope to see you there.

--000000000000ed63c40599d145b9
Content-Type: application/msword
Content-Transfer-Encoding: base64

0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAA.......

But if the attachment's headers are like this it will:

--000000000000ed63c40599d145b9
Content-Type: application/msword
Content-Disposition: attachment; filename="Agenda December 16, 2019.doc"
Content-Transfer-Encoding: base64
@alecpl
Copy link
Member

alecpl commented Jan 18, 2020

So, it has no Content-Disposition header, but also no name argument in Content-Type header. I can confirm that. Indeed, Thunderbird displays it with "Part X.Y" name.

alecpl added a commit that referenced this issue Jan 18, 2020
alecpl added a commit that referenced this issue Jan 18, 2020
@alecpl alecpl modified the milestones: later, 1.4.3 Jan 18, 2020
@alecpl
Copy link
Member

alecpl commented Jan 18, 2020

Fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants