It's not advisable to change code directly in cake's core files. Cake is designed in a way that pretty much everything is customizable on a per application basis. Furthermore the xMailer property is not actually visible in the email body, it only appears in the email's headers which are normally tucked away in most email clients so you shouldn't have to worry about that. To adjust your email layouts you should edit app/views/layouts/email/html/default.ctp and app/views/layouts/email/text/default.ctp.
xeroxss wrote: > Hi!, I'm new to Cake PHP and i'm trying to change the link in the > email being sent by the cake php framework. > I change the definition in the following line of the email.php in the > /cake/libs/controller/components/email.php but I'm still seeing the > same message even if I deleted my cache. Is there additional files > where I need to change it. Thanks! > > EmailComponent::$xMailer = 'CakePHP Email Component' > > Definition at line 192 of file email.php. > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---