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

include rfc822 as attachments #1389

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

Conversation

ahorek
Copy link
Contributor

@ahorek ahorek commented Apr 21, 2020

the original feature 1e665e4

email -> eml -> png

before

attachments: png

after

attachments: eml, png

I'm not sure what the correct behavior should be. For instance, Thunderbird includes eml as an ordinary attachment but some other clients don't even if Content-Disposition: attachment;. Thoughts?

@tatey
Copy link

tatey commented Aug 6, 2020

@ahorek Thanks a tonne for this patch!

I ran into a problem where Mail wouldn't recognise .eml attachments. Before applying your patch.

mail.attachments["foo.eml"] = {mime_type: "message/rfc822", content: "..."}
mail.attachments # => []

And after applying your patch:

mail.attachments["foo.eml"] = {mime_type: "message/rfc822", content: "..."}
mail.attachments # => [..]

Using the attachment? predicate to determine whether or not it should be included in the list makes a tonne of sense.

@brianknight10
Copy link

Hello! This patch is great and works well. Is there any reason why it hasn't been merged into a release?

@der-flo
Copy link

der-flo commented Mar 4, 2022

@mikel @jeremy Is there anything I/we can do to support resolving this issue und releasing a new version of this gem?

@svenwin
Copy link

svenwin commented May 6, 2022

@mikel what's your take on this? What can we do to help you resolve this issue?

@mikel
Copy link
Owner

mikel commented Dec 3, 2022

Hey there @svenwin @der-flo @brianknight10 @tatey and of course @ahorek - could one of you please get this rebased onto the latest master and I'll review and merge it then.

@mikel mikel added this to the 2.9.0 milestone Dec 3, 2022
@ahorek
Copy link
Contributor Author

ahorek commented Dec 3, 2022

sure thing! done

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

Successfully merging this pull request may close these issues.

None yet

6 participants