Because here: http://book.cakephp.org/2.0/en/core-utility-libraries/email.html#CakeEmail is no reset mentioned.
Am Samstag, 7. April 2012 18:37:15 UTC+2 schrieb heohni: > > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php