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 <pchabros.p...@gmail.com> 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('b...@hotmail.co.uk'); > [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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php