RE: [PHP] Urgent ----> CC from mail( ) function of PHP3?
| From: | Jason Murray | Date: | Wed, 06 Sep 2000 08:27:14 +0000 |
| Subject: | RE: [PHP] Urgent ----> CC from mail( ) function of PHP3? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15456@lists.php.net to get a copy of this message | ||
> can anybody help me with how to send CC mails from mail( )
> function of PHP3.
This isn't exactly "urgent", as it is explained in the manual page
on www.php.net.
There is a fourth parameter accepted by the mail() function, which defines
extra headers, use it as such:
mail("Jason Murray <jasonm@melbourneit.com.au", "whee", "mail body"
"Cc: Jason at Home <jason@shadow.net.au>\n");
(\n = New Line)
Jason
(Excuse my quotes ... Outlook's gone wierd)