More Then one email

From: Date: Thu, 11 Mar 2004 00:33:24 +0000
Subject: More Then one email
Groups: php.windows 
Request: Send a blank email to php-windows+get-23098@lists.php.net to get a copy of this message
I have a problem. When I put 2 email addresses together it does not send the email. The coding is like this: $recipient = "email@email.com, $_POST[email]"; The send form looks like this: <? $subject = "$_POST[subject]"; $recipient = "webmaster@domain.com, $_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~

« previous php.windows (#23098) next »