what version are you using? in cake2 it is a Lib "CakeEmail" and can be used from anywhere you want to
On 15 Feb., 23:39, thom <[email protected]> wrote: > Hello, I need to send Email notification every time new record has > inserted. I just wonder which one is better way (or the best way?) to send > Email via CakePHP. Is it from Controller, or from Model thru afterSave? > Just wonder, since Email Component is made to be inside Controller, but I > heard out there people always give advice : thick Model thin Controller. > > Thank you for any response. > > -- > Regards,,, > thomhttp://mynameisthom.blogspot.comhttp://www.twitter.com/iamthom_http://id.linkedin.com/in/mastanto -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
