To reply to my own message, the problem seems to be that the fifth
parameter (additional_parameters) in PHP's mail() function cannot be
used in safe mode. If I remove it from the Email components __mail
function, all works fine.

Remains the question how to properly solve this issue.

Ciao,
Romano



On 4 jun, 21:01, Romano <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've tried to get the 1.2 emailcomponentto work using this
> explanation:http://bakery.cakephp.org/articles/view/brief-overview-of-the-new-ema...
>
> To be exact, the example for the simple text message:
>
> 1. created default.ctp files in views/layouts/email/text/ and views/
> layouts/email/html/ .
> 2. created the MailController class including the Emailcomponent
> 3. added the function sendSimpleMail to it
> 4. called the action via the url
>
> $this->Email->send however returns false. If I use the PHPmail
> function amaildoes get send, all works fine there.
>
> Does anyone have any idea where I might look to fix this?
>
> Best regards,
> Romano


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to