This project is archived and is in readonly mode.

#6657 new
Johnathan Conley

multipart emails missing content-type boundary

Reported by Johnathan Conley | March 31st, 2011 @ 03:32 PM

A basic actionmailer mail with text and html pieces (from a test.html.erb + test.text.erb) produces a mail which has a Content-Type of "multipart/alternative" only, it is missing the boundary parameter, which makes generated emails unparseable by email clients.

This is what rails v3.0.5 produces:
Content-Type: multipart/alternative

This is what it should produce (using Mail v2.2.15 directly)
Content-Type: multipart/alternative;
boundary="--==_mimepart_some_random_key";

No comments found

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages