Re: Email component working wrong

2011-09-11 Thread euromark
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


Re: Email component working wrong

2011-09-11 Thread WebbedIT
Duplicate thread: http://groups.google.com/group/cake-php/t/a749cc9e6c8f2869

On Sep 11, 9:18 am, euromark dereurom...@googlemail.com 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 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


Re: Email component working wrong

2011-09-11 Thread Piotr Chabros
Yes I am sure that the 'username' is the email. Sorry for the double
post.

On Sep 11, 10:18 am, euromark dereurom...@googlemail.com 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 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


Email component working wrong

2011-09-10 Thread Piotr Chabros
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