Samay Bhavsar

Blog


Removing the text “This email was sent using the CakePHP Framework” from the CakePHP mail.

June 29, 2010 by samay

This text is attached to the bottom of the emails sent via CakePHP Email Component.

To remove this edit the following files

cake/libs/view/layouts/email/html/default.ctp and

cake/libs/view/layouts/email/html/default.ctp

Just to be more specific, I am using Cakephp version 1.3.2.


1 Comment

  1. Never edit the core. Everything in the core (or nearly everything and certainly layouts for email etc) can be made app specific by placing a copy of it in the correspnding folder within you app/.

    So instead of editing the files as you suggest you should copy them to app/views/layouts/email/html/default.ctp & app/views/layouts/email/text/default.ctp. Then customise these files

    bake on :)

    Comment by Sam S — August 22, 2010 @ 12:01 am

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.