Yes, that is where I started. I then set it using charset in:
function _ggisSendMail(){
$this->Email->charset = 'iso-8859-15';
$this->Email->to = '[EMAIL PROTECTED]';
$this->Email->subject = 'Test';
$this->Email->from = '[EMAIL PROTECTED]';
$this->Email->layout = 'default';
$this->Email->template = 'test';
$this->Email->sendAs = 'text';
$this->Email->send();
}
Why? When it is not set, I was getting a subject of
"=?UTF-8?B?V2VsY29tZ..." with no body at all. Searching led me to:
http://marcgrabanski.com/article/cakephp-email-encoding
I will try again with the nightly build on a different server.
Follow-up post with results shortly.
Gary
On Sat, Jun 28, 2008 at 6:59 AM, b logica <[EMAIL PROTECTED]> wrote:
>
> Well, did you at least try removing the 8859 one?
>
> On Fri, Jun 27, 2008 at 3:11 PM, bujanga <[EMAIL PROTECTED]> wrote:
>>
>> Yes, I saw that but do not know why. Instead of using the Email
>> Component, I went back to sending the email via straight php. A little
>> ugly but it gives me no problems. Headers from that show:
>>
>> Content-Type: text/plain; charset=UTF-8
>>
>> I will likely dig into this once I find time and am running on sweet RC2.
>> Yeah!
>>
>> Gary
>>
>>
>>
>> On Thu, Jun 26, 2008 at 10:55 AM, b logica <[EMAIL PROTECTED]> wrote:
>>>
>>> You have a 2nd Content-type header. One is 8859 and the other is UTF-8.
>>>
>>
>> >
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---