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 the importance of php?
What is properties of class?
How to find the length of a string?
Which will check if a function exists?
Is runtime polymorphism overriding?
Tell me how can you pass a variable by reference?
Which have the fastest execution between mysql_fetch_array() and mysql_fetch_assoc()
What is empty () in php?
What is php and its uses?
What is an array in php?
How can you create a session in php?
What language is php based on?
Which function is used to read a single character from a file in PHP.
Is set in php?
Tell me how do you execute a php script from the command line?