Adding bcc in mail function

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

Adding bcc in mail function

Post by kkonline »

Hi ,
I want to add a bcc to all the mails which are sent inorder to keep a track of them.

mail($email_to,$subj,$temp,$adds);

how to add bcc in this?
Cut
Forum Commoner
Posts: 39
Joined: Sat Aug 23, 2008 8:01 pm

Re: Adding bcc in mail function

Post by Cut »

$adds .= "\n Bcc: someone@some.where";
Post Reply