Tuesday, June 29, 2010

Re: how to remove this text in email

Dilip,

That's correct. If you do not provide a layout, CakePHP will use the
ones in the cake/libs/views/layouts/email/{html,text}/default.ctp.
Instead of modifying these files provide your own in your app/views/
layouts/email/{html,text}/default.ctp.

-tehtreag

On Jun 29, 7:17 am, Dilip Godhani <dilip.godh...@gmail.com> wrote:
> Hey I find that text came form cake lib
>
> this come from following
> cake/libs/view/layouts/
>                                email
>                                     --html
>                                             -default.ctp
>                                     --text
>                                             -default.ctp
>
> remove this text in both default file
>
> Best Luck
> Bye Enjoy
> Thanks
> Dilip Godhani
> Software Developer,
> Entourage Solutions
> e-mail: di...@entouragesolutions.com
>           dilip.godh...@gmail.com
> Web.:www.entouragesolutions.com
> m. 9913822582
>
> On Tue, Jun 29, 2010 at 5:41 PM, Teh Treag <tehtr...@gmail.com> wrote:
> > Dilip,
>
> > To remove that text from your email messages, edit the layouts in app/
> > views/layouts/email/html/default.ctp for HTML, and app/views/layouts/
> > email/text/default.ctp for text messages.
>
> > $ find app \( -name \*.ctp -o -name \*.php \) -exec grep -i 'email was
> > sent' {} /dev/null \;
> > ./views/layouts/email/html/default.ctp: <p>This email was sent using
> > the <a href="http://cakephp.org">CakePHP Framework</a></p>
> > ./views/layouts/email/text/default.ctp:This email was sent using the
> > CakePHP Framework,http://cakephp.org.
>
> > -tehtreag
>
> > On Jun 29, 5:49 am, Dilip Godhani <dilip.godh...@gmail.com> wrote:
> > > Hello Frd
>
> > > Me creating email system ,in this me send mail using email component me
> > > create template  in
> > > element
> > >        /email
> > >                /html/email1.ctp
> > >                /text/defualt.ctp
> > > when i send mail this text(This email was sent using cakephp framework )
> > > automaticaly add ,can any one help how i remove this text
>
> > > Thanks & Regards
> > > Dilip Godhani
> > > Software Developer,
> > > Entourage Solutions
> > > e-mail: di...@entouragesolutions.com
> > >           dilip.godh...@gmail.com
> > > Web.:www.entouragesolutions.com
> > > m. 9913822582
>
> > Check out the new CakePHP Questions sitehttp://cakeqs.organd help others
> > with their CakePHP related questions.
>
> > You received this message because you are subscribed to the Google Groups
> > "CakePHP" group.
> > To post to this group, send email to cake-php@googlegroups.com
> > To unsubscribe from this group, send email to
> > cake-php+unsubscribe@googlegroups.com<cake-php%2Bunsubscribe@googlegroups.com>For more options, visit this group at
> >http://groups.google.com/group/cake-php?hl=en
>
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: