Re: bcc
| From: | Mehmet Kamil ERISEN | Date: | Mon, 07 Jan 2002 03:50:57 +0000 |
| Subject: | Re: bcc | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-79646@lists.php.net to get a copy of this message | ||
Dear List,
I is always a good idea to check out the manual before asking questions.
The answer to Leon's question about files is in the manual as well as the answer to this
questions. I hope the following links help.
File Operations:
http://www.php.net/manual/en/ref.filesystem.php
Bcc can be found in this section:
http://www.php.net/manual/en/ref.mail.php
Copying from the manual:
/* recipients */$to = "Mary <mary@example.com>" . ", " ; //note the
comma$to .= "Kelly <kelly@example.com>";/* subject */$subject = "Birthday
Reminders for August";/* message */$message = '<html><head>
<title>Birthday Reminders for August</title></head><body><p>Here are
the birthdays upcoming in August!</p><table> <tr>
<th>Person</th><th>Day</th><th>Month</th><th>Year</th>
</tr> <tr>
<td>Joe</td><td>3rd</td><td>August</td><td>1970</td>
<td>Sally</td><td>17th</td><td>August</td><td>1973</td>
</tr></table></body></html>';/* To send HTML mail, you can set the
Content-type header. */$headers = "MIME-Version: 1.0\r\n";$headers .= "Content-type:
text/html; charset=iso-8859-1\r\n";/* additional headers */$headers .= "From: Birthday
Reminder <birthday@example.com>\r\n";$headers .= "Cc:
birthdayarchive@example.com\r\n";$headers .= "Bcc: birthdaycheck@example.com\r\n";/*
and now mail it */mail($to, $subject, $message, $headers);
Bogdan Stancescu <mgv@fx.ro> wrote: What do you mean? Supported in what way? (I take it
you're referring to
the e-mail blind carbon copy feature).
Bogdan
"Deependra B. Tandukar" wrote:
> Greetings !
>
> Is Bcc supported in PHP?
>
> Looking forward to hearing from you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Mehmet Erisen
http://www.erisen.com
---------------------------------
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail.