Like

http://www.thinkingphp.org/2006/08/05/a-solution-for-e-mail-sending-in-cakephp/

or

http://wiki.cakephp.org/tutorials:sending_email


There are some others at

http://cakephp.org/search?q=email

Sam D

On 8/10/06, Gonçalo Marrafa <[EMAIL PROTECTED]> wrote:

Hi.

Is it possible to have views that are not for display? I want my system to
send e-mails on certain events and i would like to have multiple
templates, one for each of those events. I would like to be able to use
them as a regular view. Kinda like:

function foo()
{
    ... some code ...
    $this->set('to', '[EMAIL PROTECTED]');
    $this->set('name', 'Some Name');
    $this->set('message', 'Hello world!');
}

And, instead of displaying a page, an e-mail would be sent.

Is this to far off? Can something like this be done?

--
Gonçalo Marrafa < [EMAIL PROTECTED]>


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

Reply via email to