Re: Mail submisison of form data
| From: | Tom Mathews | Date: | Tue, 27 Mar 2001 09:02:44 +0000 |
| Subject: | Re: Mail submisison of form data | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-6315@lists.php.net to get a copy of this message | ||
Flint
Yeh, that's about the right syntax, but if you are sending duplicate messages
from a web server, I'd strongly recommned bcc: in the header instead of cc:
Tom
Flint Doungchak wrote:
> 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
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net