Yes I am sure that the 'username' is the email. Sorry for the double
post.

On Sep 11, 10:18 am, euromark <[email protected]> wrote:
> are you sure that the "username" is actually an email address?
> or did you wanna write $User['User']['email'] ?
>
> On 9 Sep., 16:48, Piotr Chabros <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hello,
>
> > I have a function sending email to all the users, and every email sent
> > is copied to another email address too:
>
> > [CODE HERE]
> > $this->Email->to = $User['User']['username'];
> > $this->Email->bcc = array('[email protected]');
> > [CODE HERE]
>
> > The thing is the email sent to the user is different than the copy. I
> > have no idea why it happens, the commands are one under another as
> > shown.
>
> > Please help,
> > Peter.

-- 
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

Reply via email to