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

Merged
merged 1 commit into from
Oct 29, 2024
Merged

include rfc822 as attachments #1389

merged 1 commit into from
Oct 29, 2024

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.

@ahorek
Copy link
Contributor Author

ahorek commented Dec 3, 2022

sure thing! done

@ahorek
Copy link
Contributor Author

ahorek commented Oct 28, 2024

ping @eval

@eval eval merged commit 73db11a into mikel:master Oct 29, 2024
15 checks passed
@eval
Copy link
Collaborator

eval commented Oct 29, 2024

Ported to 2-8-stable

@ahorek
Copy link
Contributor Author

ahorek commented Oct 29, 2024

thanks!

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.

7 participants