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
How can I use single quotes in single quotes in php?
What does session start do in php?
What is php and features of php?
What is the best way to test the strpos() return value in php?
Is php better than java?
What is the difference between $var and $$var?
What is php oop?
What does trim () do in javascript?
What is the use of final class in php?
Which php framework is best for beginners?
Why do we use sessions in php?
What is difference between array_merge and array_combine in php?
Why do we show php code in browser?
How to get number of elements in an array?
What is mvc php?