How can we send mail using JavaScript?
Answer Posted / sajeer
<?
extract($_GET);
extract($_POST);
$txtname=stripslashes($T1);
$msg="CONTACT US INFORMATION\n\n";
$msg.="Subject : $T4\n";
$msg.="From : $T1\n";
$msg.="Email : $T2\n";
if($T3!="")
$msg.="Phone : $T3\n\n";
$txt=stripslashes($S1);
if($S1!="")
$msg.="Comments : $txt";
@mail("sajeerm@yahoo.com","Contact Query from
$T1 ","$msg","From:admin@sajeer.com");
?>
| Is This Answer Correct ? | 3 Yes | 6 No |
Post New Answer View All Answers
What is php date function?
What is the alternative structure for control structures?
What is the difference between require_once and require in php?
What is static variable in php?
Why overriding is called runtime polymorphism?
What is apache and php?
Can a trait extend a class php?
How we get browser details of clients machine?
Which is better php or wordpress?
List some array functions in php?
How can you get web browser’s details using PHP?
What are php variables?
What is $this in php?
What is sorting php?
What is final class and final method?