-
Notifications
You must be signed in to change notification settings - Fork 22
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
Problems with nesting of multipart message with pdf-attachment #78
Comments
i'm a bit confused as if i really do the right thing, because i presume that this would have been come up earlier, as it's a pretty common use case of emailing. |
@mereghost lmk if i can provide any more info or testing |
Heya folks, The issue seems to exist upstream as we use |
i see, would you be able to link to an issue there, wherever they keep their repo, to follow it directly along the source? |
This issue is already kinda linked there as you mentioned mikel/mail#1022 here. =) If I manage to fix this, for sure I'd mention both issues. =) |
ah right, sorry, i forgot i had looked into this back then as well :D |
Just FYI, I reported a similar bug against Discourse, where I linked and quoted this bug report. Discourse fixed their similar bug by changing how they call the mail gem. It seems that's the typical course with similar bugs. discourse/discourse@59578df |
also discussed in the chat
i have this mailer:
The mailer is called from a non-crud controller that prepares the context and locals, the pdf is generated by an interactor.
what i'm expecting the email to be structured like:
what i'm receiving:
the practical effect:
thunderbird renders the right text body, depending on user preference (txt or html), but does not show the attachment as an attached file (it is however in the email source code as a bas63-encoded block)
ios mail shows an empty email body, and only the pdf attachment as a file, since it is the last entry, and apparently the mail client then only renders this.
for reference some issues about this from the Mail gem:
mikel/mail#853
mikel/mail#1022
mikel/mail#862
mikel/mail#590
here's a gist that prevents this from happening when using the gem only:
https://gist.github.com/steve500002/bfc4b027d93c0c04f126
any other detail needed?
The text was updated successfully, but these errors were encountered: