[Solar-talk] Solar_Mail_Encoding + header added to the e-mail body
Rodrigo Moraes
rodrigo.moraes at gmail.com
Thu Apr 26 23:45:02 PDT 2007
On 4/26/07, Jeff Surgeson wrote:
> I am using Solar_Mail and so far have not had any problems, but am just using
> it as a simple "contact us" form. I tried to send and received a email with
> the special character you mentioned all seemed ok, this is how I use it
Thanks, Jeff, good to know this; you made me try again. And then I
solved all my problems adding a config to Solar_Mail_Message:
$config = array(
'crlf' => "\n",
);
$message = Solar::factory('Solar_Mail_Message', $config);
The default "\r\n" was messing with the headers and thus the body was
also wrongly encoded. Using "\n" did the trick and it is working very
fine now, without any hacks. I couldn't imagine it would be so simple.
:D
rodrigo
More information about the solar-talk
mailing list