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 difference between session_unset and session_destroy?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
Tell me what is the difference between unset() and unlink()?
What is cookie and why do we use it?
Php says that an array is an ordered map. But how the values are ordered in an array?
When viewing an html page in a browser, the browser often keeps this page in its cache. What can be possible advantages/disadvantages of page caching? How can you prevent caching of a certain page (please give several alternate solutions)?
How to create a session? How to set a value in session?
How to get the position of the character in a string in php?
What is the difference between html and php?
Explain the types of functions for Splitting String?
What is the use of mysql_fetch_assoc in php?
Which is a perfect example of runtime polymorphism?
How does cookies work in php?
What are getters and setters php?
why did u want to leave your past organisation?