Hi, I've read that you can automatically generate an email after saving
a form like below...
function afterSave()
{
// mail me when a new bookmark is added
mail('[EMAIL PROTECTED]', 'Bookmark saved to database');
return true;
But what im wondering is how do you add the feilds of the form you have
just submitted to the email and is it still all done in the model?
Thanks,
Michael.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---