note 39582 deleted from ref.mail by ronabop
| From: | ronabop@php.net | Date: | Tue, 03 Feb 2004 02:55:03 +0000 |
| Subject: | note 39582 deleted from ref.mail by ronabop | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-64582@lists.php.net to get a copy of this message | ||
Note Submitter: the_little_hand@hotmail.com
----
I just write a php script on sending the form data to multiple recipents (the sender and the
administrator) successfully. However, both of them would recieve the email with the same content. I
really want to send TWO DIFFERENT emails to each of them. what should I do?
here is my script:
<?php
$type = $_REQUEST['type'] ;
$name = $_REQUEST['name'] ;
$join = $_REQUEST['join'] ;
$tel = $_REQUEST['tel'] ;
$email = $_REQUEST['email'] ;
$address = $_REQUEST['address'] ;
$any = $_REQUEST['any'] ;
$more = $_REQUEST['more'] ;
$other = $_REQUEST['other'] ;
mail( "postmaster@domain.com ; $email", "feedback form
data","$name,hi!\nthank you for your participation\n\nplease check the data\ntype
$type\nname$name \njoin$join\ntel$tel\nemail$email\naddress$address\nbirthday$any
$more\nother$other", "From: $name<$email>");
echo ("<p>$name,thank youI</p>");
?>
please help me!