Hello,

I have a problem with email component, template parameter:

- If I set up a $body variable with the content of my email and send
it like this at the end:

               return $this->Email->send($body);

IT WORKS...

- but if I remove my $body, and send this way:

              $this->Email->template = 'user_confirm';
              return $this->Email->send();

it won't work: it opens a new browser window with the content of the
email, INSTEAD of sending the actual email !

I have the latest cake version.
I'm sure I'm using correct paths to the templates (I already tried
replacing the name of the template to default, and got same results).
I tried the delivery param, same.

Any idea ?
Thank you
Mythos

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to