You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
joebeeson edited this page Apr 4, 2011
·
3 revisions
The Debug transport takes an Email object and saves it to a file for review; a sort of print_r for the object. It's recommended that you use this to help debug or develop your application.
Configuration
folder (Optional, string) Location to save the file. Defaults to your temporary folder.
Notes
It's often useful to have all emails to be "sent" via this transport when you application is in development:
publicfunctionbeforeFilter() {
if (Configure::read('debug') > 0) {
$this->Postman->setTransport('Debug');
}
}
When sending a lot of emails your temporary folder can become unwieldy rather quickly. Be sure to clear out the older files periodically.