If your code is exactly what you wrote, this line:
$recipient = "[EMAIL PROTECTED], $_POST[email";
should be:
$recipient = "[EMAIL PROTECTED], $_POST[email]";
Is it that?
> -----Message d'origine-----
> De : Will [mailto:[EMAIL PROTECTED]
> 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 PROTECTED], $_POST[email]";
>
> The send form looks like this:
> <?
> $subject = "$_POST[subject]";
>
> $recipient = "[EMAIL PROTECTED], $_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
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php