RE: [PHP-WIN] Mail submisison of form data
| From: | Flint Doungchak | Date: | Tue, 27 Mar 2001 00:32:32 +0000 |
| Subject: | RE: [PHP-WIN] Mail submisison of form data | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6311@lists.php.net to get a copy of this message | ||
Randall,
I'm not sure on this so I may need some correction, in theory, you should be
able to put two addrees in the first argument, but I have never gotten it to
work. But try this. I might be wrong on the syntax.
mail("flint@netsolutionsll.com","Subject: I'm an idiot","Message body
here","From:wee@pee.net,Cc:next@person.com");
Somewhere care to check on my syntax? Sorry Randall at not being absolutely
clear.
-Flint
-----Original Message-----
From: Randall Barber [mailto:rdb55@email.byu.edu]
Sent: Monday, March 26, 2001 5:11 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Mail submisison of form data
I have taken over a web page that submits form information to an email =
address.
I was wondering if there is a way in the mailto: tag to carbon copy the =
message. If there is it saves me time.
Otherwise, I was going to submit the results to a PHP page that simply =
echo'd something like this:
---------------------------------------------
Our mail center has received the following information:
.
.
info here
.
.
Click here to return to the Mail Center.
----------------------------------------------
I would use PHPs mail() function to email it to the center.
Having it carbon copied would save me the step of writing another page.
Any suggestions?
Thanks
RDB