Hello Use this its work may ne $to = 'exampleem...@domain.com'; $this->Email->to = $to;
Best luck BYe BYe On Wed, Jun 16, 2010 at 12:25 AM, Daniel Gbur <daniel.g...@gmail.com> wrote: > hi all, > > i have a problem with Email compnent. > when i set the destination adress with a string: > > $this->Email->to = 'exampleem...@domain.com'; > > it's working ok, but when i try to set the destination adress with a > variable: > > $to = 'exampleem...@domain.com'; > $this->Email->to = $to; > > it doesn't work. > > i can't find the reason why it's not working. > maybe someone have any idea? > > 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > -- Dilip Godhani Jr 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 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en