-
Notifications
You must be signed in to change notification settings - Fork 936
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
charset disappears in Message class for multipart #1183
Comments
Good opportunity to check |
And the resolution is? Does it need to go back? |
i am a bit confused because 2.7 stable also contains it . |
The resolution is up to you to discover, @dragosmiron. |
here's the related PR #1145 |
Thanks for reply. I'm considering this issue. Please wait for a few days. |
@dragosmiron Sorry for late response. |
Hi, there is this line in 2.6 stable that disappeared in 2.7 and there are errors because of it
https://github.com/mikel/mail/blob/2-6-stable/lib/mail/message.rb#L2074
Basically, when adding parts to message, say text and html, the first will succeed, because it takes the charset from message, but then
add_boundary
makes thedef charset
method return nil for next call.Second part will get a nil charset, that results in an error when trying to call the
encoded
method.It took me a quite a while to debug actionmailer + mail gem for this.
Any reason why the line I pointed out disappeared? It works when i added it back.
The text was updated successfully, but these errors were encountered: