Re: Recording Emails Sent

2015-07-27 Thread thanat
Hi, assuming Cakephp 2.x: $Email = new CakeEmail(); //... all the additional email settings $result = $Email->send(); $result['message'] contains the whole email message (txt, html even with attachments), 1. you can parse this to get txt and html parts. 2. option as you wrote, writ

Recording Emails Sent

2015-07-27 Thread #2Will
I'm trying to work out a good way to record all the emails the system has sent. I want to record them to DB, with columns for To, Subject and Message. I don't think that CakeEmail triggers any events or callbacks I can hook into? If I write a custom Log, I think I just get back the Whole messa