RE: [PHP-WIN] More Then one email

From: Date: Thu, 11 Mar 2004 07:47:04 +0000
Subject: RE: [PHP-WIN] More Then one email
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-23101@lists.php.net to get a copy of this message
If your code is exactly what you wrote, this line: $recipient = "webmaster@domain.com, $_POST[email"; should be: $recipient = "webmaster@domain.com, $_POST[email]"; Is it that? > -----Message d'origine----- > De : Will [mailto:will.w@wawhosts.net] > Envoyé : jeudi 11 mars 2004 01:33 > À : PHP King; Php-Windows > Objet : [PHP-WIN] More Then one email > > > 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~ > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#23101) next »