[Solar-talk] Solar_Mail_Encoding + header added to the e-mail body

Rodrigo Moraes rodrigo.moraes at gmail.com
Thu Apr 26 14:43:55 PDT 2007


On 4/26/07, Rodrigo Moraes wrote:

> 2. Second problem.
> With or without my hack, all message body's were preceded by the following:
>
> 'Content-Type: text/plain; charset="utf-8"
>
> Content-Transfer-Encoding: quoted-printable
>
> Message-Id: <20070427012129.684EB4CC007 at mail.rubybr.org>
> Date: Thu, 26 Apr 2007 22:21:29 -0300 (BRT)'
>
> Obviously this should be in the header, and I don't know what added it
> to the body. I'm still investigating this. When I find a way to remove
> this from my messages, I can start using Solar_Mail. I just need a
> simple text (sometimes with html, rarely attachments) emailer.

Ok, I found a clue about this. The header has blank lines, which cause
the header to break. Probably this is also caused by
Solar_Mail_Encoding, called on Solar_Mail_Message::fetchHeaders(). It
is adding extra line breaks to the header.

rodrigo


More information about the solar-talk mailing list