Skip to content

Fix that Message#attachments cannot count singlepart attachment #1144

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kirikak2
Copy link
Contributor

@kirikak2 kirikak2 commented Sep 6, 2017

see #1143

@kirikak2 kirikak2 force-pushed the get_singlepart_attachments branch 2 times, most recently from 8fff96d to 96e7e62 Compare September 7, 2017 01:25
@kirikak2 kirikak2 changed the title Fix that Message#attachemnts cannot count singlepart attachment Fix that Message#attachments cannot count singlepart attachment Sep 7, 2017
@kirikak2 kirikak2 force-pushed the get_singlepart_attachments branch from 96e7e62 to 6bfef98 Compare September 7, 2017 03:07
@jeremy jeremy added this to the 2.8.0 milestone Nov 2, 2017
header_part << header[:content_type].encoded if header[:content_type]
header_part << header[:content_disposition].encoded if header[:content_disposition]
header_part << header[:content_transfer_encoding].encoded if header[:content_transfer_encoding]
header_part << header[:content_discription].encoded if header[:content_discription]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

header[:content_description] typo here

@HashNotAdam
Copy link

Unfortunately, this issue is causing me problems when parsing DMARC reports coming from Google. I've tested this branch and, apart from correcting the above-mentioned typo, found that it worked without modification.

@kirikak2 any chance you can get this over the line? Alternatively, I could make a new PR based on this one but compatible with the current version of mail

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

Successfully merging this pull request may close these issues.

4 participants