On a rather large conquest with a short period of time to figure out sending mails in multipart mime text/html messages, I ran into a horrible issue with the way Rails ActionMailer handles inline content. In short, it doesn’t do it in the current latest stable tree, I’m not sure about edge, you’ll need to check that. To
achieve this I collected different findings via the google express.
RoR Ticket #2179 - [PATCH] Ability to add inline attachments (ie, inline images for html email)
Download the two attached files, put them in your /libs directory of your project. At the bottom of your /config/environment.rb file append these two lines:
{[.ruby-snippet1 /enzymes/chili-js.php]}