Simple HELP with PHP Mail Code
Posted: Thu Jun 01, 2006 3:50 pm
Weirdan | Please use
Weirdan | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Hi,
I have a simple question,
Here is the code I am using to send an email via php from flash.
everything is working fine, but I would like to submit this to multiple email addresses,, instead of the firstemail@mail.com address,
can someone please help,,, here is the code:Code: Select all
$sendTo = "firstemail@mail.com" ; // I would also like to send this to secondemail@mail.com.. how do I code this???
$subject = "Application";
$headers = "From: " . $_POST["vFirstName"] ." ". $_POST["vLastName"] . "<" . $_POST["vEmail"] .">\r\n";
$headers .= "Reply-To: " . $_POST["vEmail"] . "\r\n";
$headers .= "Return-path: " . $_POST["vEmail"];
$message = $_POST["vAll"];
mail($sendTo, $subject, $message, $headers);Weirdan | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]