PHP Mail Question
I have a script that sends an email to a friend. I would like it to CC the sender as well on the email. This is the script:
<?
include "PHP_Lib.php";
$subject = $HTTP_GET_VARS["Subject"];
mail("$Recipient_Email","Interesting IT Training URL","Dear $Recipient_First_Name,
I thought that you might be interested in this link: $message.
Thanks,
$Contact_First_Name $Contact_Last_Name",
"From:$Contact_First_Name $Contact_Last_Name\r\n",
"CC:$Contact_Email");
?>
The file "PHP_Lib.php" contains information to send another email to us for database information. the CC doesnt seem to want to work. What can I do?
Thanks!
Jody
zollet posted this at 19:50 — 16th June 2003.
He has: 1,016 posts
Joined: May 2002
Perhaps this will help...
druagord posted this at 21:20 — 16th June 2003.
He has: 335 posts
Joined: May 2003
all your header info should have \r\n at the end even the last one
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.