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 are the encryption functions in php?
What is the special meaning of __sleep and __wakeup?
What are the advantages of indexes in php?
Can you pass an array into a function?
Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?
What is an operator in php?
Why die is used in php?
Explain mixed and callback functions?
What is array filter in php?
What is $_ post in php?
What are examples of independent and dependent variables?
What percentage of websites use php?
Tell us how to set cookies in php?
What are include() and require() functions?
How can we execute a php script using command line?