More Then one email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a problem.  When I put 2 email addresses together it does not
send the email.  The coding is like this:

$recipient = "email@xxxxxxxxx, $_POST[email]";

The send form looks like this:
<?
$subject = "$_POST[subject]";

$recipient = "webmaster@xxxxxxxxxx, $_POST[email";

$mailheader .= "From:       $_POST[email]\n";
$mailheader .= "To:         $_POST[email]\n";
$msg .= "A message has been sent from the domain.com\n\n";
$msg .= "Senders Name:       $_POST[name]\n";
$msg .= "Senders Email:     $_POST[email]\n\n";
$msg .= "Message:           \r$_POST[message]\n";

mail($recipient,$subject,$msg,$mailheader);
?>

Everything works, the subject message etc.  But when it is sent I do not
get any emails at all!!

Please help. :)

~WILL~

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux