Hello
Use this
its work may ne

$to =  '[email protected]';
$this->Email->to = $to;


Best luck
BYe BYe

On Wed, Jun 16, 2010 at 12:25 AM, Daniel Gbur <[email protected]> wrote:

> hi all,
>
> i have a problem with Email compnent.
> when i set the destination adress with a string:
>
> $this->Email->to = '[email protected]';
>
> it's working ok, but when i try to set the destination adress with a
> variable:
>
> $to =  '[email protected]';
> $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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>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: [email protected]
          [email protected]
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to