Saturday, April 7, 2012

sending emails question

Hi,

I having a newsletter registration where I want to send an email to the user and to the admin.
For now I only send to user this way:
// send email to user to confirm
$email = new CakeEmail();
$email->helpers(array('Html', 'Text'));
.....
$email->send();

How do I send another email to admin now?
Same time, but just different ->to  ->subject and body?

Can I somehow reset the vars I set before to fill them with the new data and send again?

Thanks! And happy eastern!

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: