-
Notifications
You must be signed in to change notification settings - Fork 153
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 Content-Disposition #68
Comments
Check Content-Description and Content-ID (message.Attachments.Headers["Content-Description"] and message.Attachments.Headers["Content-ID"]) Either one of those usually gets me the filename |
I am also having this trouble and this workaround didn´t work neither because there is no message.Attachments.Headers |
each attachment has a Headers (Or used to anyway - am not using the latest version yet)
There also used to be a RawHeaders that was better than Headers although you would have to parse the value yourself |
Not all MIME parts are guaranteed to have a Content-Disposition header. MIME parts don't even necessarily need to have any headers at all. This is all explained in the rfcs... |
Some email don't have Content-Disposition and i cant get attachments.
The text was updated successfully, but these errors were encountered: