[PHP] Message isn't received in form mailer

2002-05-04 Thread Rodrigo

Hi guys, I'm trying to send the contents of a form thru the php script
under this message, but I'm not receiving the message itself, I just
receive the message in blank. Just with the subject and the from.
Does anybody know what the problem is?
Thanks for the help, Rodrigo
 
 
 
 
?php
 $Destino =  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED];
 $Remetente = $name $email;
 $Assunto = Form Domain.com;
 $Mensagem = $coments;
 mail($Destino,$Assunto,$Mensagem,From:$Remetente\n);
 header(Location:http://www.domain.com/success.htm;);
?



Re: [PHP] Message isn't received in form mailer

2002-05-04 Thread Jason Wong

On Sunday 05 May 2002 00:39, Rodrigo wrote:
 Hi guys, I'm trying to send the contents of a form thru the php script
 under this message, but I'm not receiving the message itself, I just
 receive the message in blank. Just with the subject and the from.
 Does anybody know what the problem is?
 Thanks for the help, Rodrigo

 ?php
  $Destino =  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED];
  $Remetente = $name $email;
  $Assunto = Form Domain.com;
  $Mensagem = $coments;
  mail($Destino,$Assunto,$Mensagem,From:$Remetente\n);
  header(Location:http://www.domain.com/success.htm;);
 ?

Presumably you've echo($Mensagem) and it does contain something?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
timesharing, n:
An access method whereby one computer abuses many people.
*/

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




RE: [PHP] Message isn't received in form mailer

2002-05-04 Thread John Holmes

  $Mensagem = $coments;

Where is $coments coming from? Why do you assign a variable to a
variable, without changing anything?

---John Holmes...


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




Re: [PHP] Message isn't received in form mailer

2002-05-04 Thread David Jackson

Jason --
This ain't pretty (and probly not even correct) but it works:

David 

-- Mail Call PHP 

html
headtitlehello mail/title/head
body

pre
?php
$From = $_POST['from'];
$Two = $_POST['two'];
$Subject = $_POST['sub_ject'];
$Comments = $_POST['comments'];
echo b$From/b;print \n;
echo $Two;print \n;
echo $Subject;print\n;
echo $Comments;print \n;
?
?php mail($Two,$Subject,$Comments) ?
/pre
/body
/html

-
Jason Wong wrote:
 
 On Sunday 05 May 2002 00:39, Rodrigo wrote:
  Hi guys, I'm trying to send the contents of a form thru the php script
  under this message, but I'm not receiving the message itself, I just
  receive the message in blank. Just with the subject and the from.
  Does anybody know what the problem is?
  Thanks for the help, Rodrigo
 
  ?php
   $Destino =  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED];
   $Remetente = $name $email;
   $Assunto = Form Domain.com;
   $Mensagem = $coments;
   mail($Destino,$Assunto,$Mensagem,From:$Remetente\n);
   header(Location:http://www.domain.com/success.htm;);
  ?
 
 Presumably you've echo($Mensagem) and it does contain something?
 
 --
 Jason Wong - Gremlins Associates - www.gremlins.com.hk
 Open Source Software Systems Integrators
 * Web Design  Hosting * Internet  Intranet Applications Development *
 
 /*
 timesharing, n:
 An access method whereby one computer abuses many people.
 */

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