Yii Framework Forum: How To Add A Bcc Email Ad In Php Mailer Yii Extension? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How To Add A Bcc Email Ad In Php Mailer Yii Extension? Rate Topic: -----

#1 User is offline   sasori 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 297
  • Joined: 05-November 10

  Posted 14 January 2013 - 04:53 AM

hi, how to add a bcc email address in phpmailer yii extension based from this document


http://www.yiiframework.com/extension/phpmailer/#hh4


I can't find any example at all
0

#2 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 14 January 2013 - 04:54 AM

/* Moved from General Discussion .. */
"Less noise - more signal"
0

#3 User is offline   jacmoe 

  • Elite Member
  • Yii
  • Group: Moderators
  • Posts: 2,601
  • Joined: 10-October 10
  • Location:Denmark

Posted 14 January 2013 - 04:55 AM

Well, did you try the PHPMailer site?

And/or The Great Google?
"Less noise - more signal"
0

#4 User is offline   alirz23 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 988
  • Joined: 08-August 12
  • Location:Durban, South Africa

Posted 14 January 2013 - 06:10 AM

$mail->AddBCC('email@sample.com'); // if you want one email 


foreach($emails as $email) {
   $mail->AddBCC($email); // if you want more than one email 
}


I did not test the code
1

#5 User is offline   sasori 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 297
  • Joined: 05-November 10

Posted 14 January 2013 - 07:47 AM

thanks...this is correct

$mailer->AddBCC("email");


i searched the real php mailer website documentation..
the yii extension documentation lacks some details
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users