Joe Strout
-
2009-12-02
- priority: 5 --> 7
Looks like there's another RB bug here: when I send a message with an attachment, the resulting file is not built properly. It's even flagged by some tools in the pipeline, e.g.:
X-Amavis-Alert: BAD HEADER MIME error: error: unexpected end of preamble
The problem appears to be that the text body, which is the first part in a multipart/mixed message, gets a "multipart/mixed" type itself, with a boundary that doesn't appear anywhere else in the message.
So we need to (1) compare RB/Zymail's message with a simple attachment to the same message sent with Thunderbird or Apple Mail; and (2) probably write our own email attacher which builds the multipart message correctly.