Conversation
Fixes #60 |
+1 |
1 similar comment
👍 |
Sounds good. Test case? |
Added. |
Hm, I misunderstood. A This way, you're seeing the part ordering that you set up in the message. If you're seeing text default but want html, reverse the order of the parts. |
It might be outside the context of this PR, but is there a way to change the order of the parts in ActionMailer? On Wednesday, December 11, 2013, Jeremy Kemper wrote:
|
Disregard my previous question, I found it in the Rails docs. I understand the need for nil now. I'm personally using Is that something you would be interested in supporting? If so, I can probably find some time to make the change. |
Is the HTML view not already the default view? When I click the links at |
It's not for me, but now it makes me wonder if it's something premailer is On Wednesday, December 11, 2013, Graham Swan wrote:
|
@brandonhilkert I'm using premailer as well and HTML is not the default view. |
Ok. Thanks for the feedback. I'll go poke around premailer then and try to On Wednesday, December 11, 2013, Patrick Berkeley wrote:
|
Just as follow up, I've confirmed it is |
When the format is not specified, the formats array includes nil
[nil, "text/html", "text/plain"]
.find_part
with anil
format will bring back the plain text version. So if a format isn't specified, we remove before we find the preferred format.