•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 455,986 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,802 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 564 | Replies: 3 | Solved
![]() |
| |
Hello everybody, I want to write an email to some one by php function... I mean Mail(....)
What may I write in the headers to send this message safety to another one...
I mean by using the (Cc)
Or (BCc).
So that is a querstion....
I have another question:
Can anyone tell me what is the difference between:
Cc and BCc?
I wish if anyone has the answer that he gives me it.

Thanks
What may I write in the headers to send this message safety to another one...
I mean by using the (Cc)
Or (BCc).
So that is a querstion....
I have another question:
Can anyone tell me what is the difference between:
Cc and BCc?

I wish if anyone has the answer that he gives me it.

Thanks
Last edited by Pro2000 : Dec 2nd, 2007 at 3:47 pm. Reason: Mistake in a word
The great scientist see his web-site:
http://www.elnaggarzr.com/en
I'm sure that will be good for you!
http://www.elnaggarzr.com/en
I'm sure that will be good for you!
php Syntax (Toggle Plain Text)
$header = "From:info@daniweb.com"; $header.= "\r\nCC:info@daniweb.com"; $header.= "\r\nBCC:info@daniweb.com"; mail("yourname@yourdomain.com", $subject, $message, $header);
The mail function works differently depending on whether using Linux or Windows. This example is for Windows. I'm not sure if it works on Linux but, I'm sure it would be similar.
CC is an old term for Carbon Copy. It used to be that if you gave someone a document, you would make a carbon copy for yourself as proof. Now it is used to send to others as witnesses that the message was sent. All recipients of the CC are visible in the message.
BCC stands for Blind Carbon Copy. It is the same as CC except for the fact that the recipient doesn't get to see who else got a copy of the document.
Thank you very much for this answer
The great scientist see his web-site:
http://www.elnaggarzr.com/en
I'm sure that will be good for you!
http://www.elnaggarzr.com/en
I'm sure that will be good for you!
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
advertisment blog browser cell competition daniweb email encryption eu eudora firefox gentoo gmail google imap linux microsoft mobile mozilla news onecare open source opinion outlook penelope phishing phones php professional research scam security spam spammers spamming stocks technology thunderbird virus web webmail
- Previous Thread: Text Box
- Next Thread: newbie question


Hybrid Mode