We had a similar issue recently - I found the solution on http://www.mainelydesign.com/blog/view/setting-envelope-from-header-cakephp-email-component
You need to add the following line in addition to $this->Email->return = '[email protected]'; $this->Email->additionalParams = '-f [email protected]'; Keith Gorman Class Outfit [email protected] http://ww.classoutfit.com On 21 May 2011, at 05:51, Louie Miranda wrote: > I forgot to mention that I am using CakePHP 1.2.6 and 1.2.7. > -- > Louie Miranda > - Email: [email protected] > - Web: http://www.louiemiranda.com > > > > On Fri, May 20, 2011 at 9:50 PM, Louie Miranda <[email protected]> wrote: > I am working on this app where we need to modify the "Return-Path". From the > manual, it was indicated that if we just use.. > > $this->Email->return = '[email protected]'; > > It would be able to modify the email being sent, but when I checked, it > turn's out it's not. I am currently checking the core api for Mail and found > that there was a $this->return object, but not sure why it does not work > properly. > > Would anybody know the real story on this? > > Thanks, > -- > Louie Miranda > - Email: [email protected] > - Web: http://www.louiemiranda.com > > > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
