mansour
September 10, 2004, 7:11am
1
i have a flash form, i want that flash form to send one copy to the customer and one to the store!
here’s the php scrip i have so far
<?php
$ToEmail = "mansouros@hotmail.com";
$ToSubject = "a computer suscriber";
$company = "roya";
$EmailBody = "Sent By: Roya
Senders Name: $rname
Email Address: $rmail
Phone Number: $rfone
";
$EmailFooter = "Computer Data:
$allData
$REMOTE_ADR http://www.mansours.net
";
$Message = $EmailBody.$EmailFooter;
mail($ToEmail. "<".$ToEmail.">",$ToSubject, $Message, "From: ".roya." <".$company.">");
mail($smail. "<".$smail.">",$ToSubject, $Message, "From: ".roya." <".$company.">");
?>
what should i add/edit/remove?
btw - $smail, is an input box variable inside withing the flash(customer’s email).
please help
system
September 10, 2004, 9:52am
2
<?php
$ToEmail = "mansouros@hotmail.com";
$ToSubject = "a computer suscriber";
$company = "roya@blah.com";
$EmailBody = "Sent By: Roya
Senders Name: $rname
Email Address: $rmail
Phone Number: $rfone
";
$EmailFooter = "Computer Data:
$allData
$REMOTE_ADR http://www.mansours.net
";
$Message = $EmailBody.$EmailFooter;
$headers .= "To: $ToEmail <$ToEmail>
";
$headers .= "From: roya <$company>
";
$headers .= "Cc: $smail
";
mail($ToEmail, $ToSubject, $Message, $headers);
?>
You can also just put more than one email address in the To field, or Bcc the additional recipients. For more information, check out the mail function manual at Zend.com
system
September 10, 2004, 2:08pm
3
thanx for your help
greatly appreciate it
system
September 10, 2004, 11:45pm
4
is there a way to prevent the CC address from displaying on the email?
system
September 11, 2004, 12:28am
6
ummm…i don’t even know what bcc is to begin with,
$headers .= “Cc: $smail
”;
this line, emails a copy i’m guessing…how can i not show this inside the mail!
i dont want the person to know he sent me a copy!
system
September 11, 2004, 12:28am
7
ummm…i don’t even know what bcc is to begin with,
$headers .= “Cc: $smail
”;
this line, emails a copy i’m guessing…how can i not show this inside the mail!
i dont want the person to know he sent me a copy!