Tuesday, November 20, 2012

Re: Email Component, cc and bcc not working?

Hi, A long time has passed, but can you show me more code?

I cant get this working.

Ben

On Wednesday, May 13, 2009 2:37:31 PM UTC+10, Louie Miranda wrote:
It worked! thanks a lot.

$ccArray = array('lmir...@example.com', 'us...@example.com');
--
Louie Miranda (lmir...@gmail.com)
http://www.louiemiranda.net 

Quality Web Hosting - www.axishift.com 
Pinoy Web Hosting, Web Hosting Philippines


On Wed, May 13, 2009 at 12:17 PM, Graham Weldon <gra...@grahamweldon.com> wrote:
Hi Louie,

I believe the cc and bcc variables need to be arrays.
Try wrapping them in an array and see how that goes for you.

Cheers,
Graham Weldon
http://grahamweldon.com 






Louie Miranda wrote:
Hi, I have setup the email component properly on cakephp. I can send and it's ok for both html and text.

I tried adding the cc and bcc option, however. It seems to be not working.
http://api.cakephp.org/class/email-component 

$this->Email->to = 'us...@example.com, lmir...@example.com';
$this->Email->cc = 'us...@example.com';
$this->Email->bcc = 'bcc...@example.com';

I am using CakePHP...

cat VERSION.txt
///////////////////////////////////////////////////////////////////////////////////////////////////////////
// +---------------------------------------------------------------------------------------------------+ //
// + $Id: VERSION.txt 7962 2008-12-25 23:30:33Z gwoo $
// + Last Modified: $Date: 2008-12-25 17:30:33 -0600 (Thu, 25 Dec 2008) $
// + Modified By: $LastChangedBy: gwoo $
// +---------------------------------------------------------------------------------------------------+ //
///////////////////////////////////////////////////////////////////////////////////////////////////////////

1.2.0.7962

any ideas?
--
Louie Miranda (lmir...@gmail.com)
http://www.louiemiranda.net 

Quality Web Hosting - www.axishift.com 
Pinoy Web Hosting, Web Hosting Philippines






--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
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+unsubscribe@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
 
 

No comments: