Why not use $this->Email->replyTo = 'jdai...@gmail.com'; $this->Email->from = 'Obiyoda <jdai...@gmail.com>';
instead? Cheers, tobi_one On Jul 28, 4:26 pm, Obiyoda <jdai...@gmail.com> wrote: > I can't seem to get the email component to set a correct return path > in the header. I've tried setting $this->Email->return = > 'someb...@somewhere.com' yet the email headers are showing the return > paths as being www-d...@localhost instead of someb...@somewhere.com. > I'm using ubuntu Jaunty with sendmail in my test environment if that > helps at all but i've tried it on our production server and it gives > me the same issues(also using sendmail). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---