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 cookie and session in php?
Which is the best php framework for a beginner?
What is default session time and path in PHP. How to change it?
Why php 7 is faster?
Explain the casts allowed in PHP?
How to write in a file in php?
What does the unlink() function means?
What are the php functions?
What does sign mean php?
What are php errors?
What is php artisan serve?
What is the function mysql_pconnect() usefull for?
Is server side a session?
Explain what are the different errors in php?
Tell us what is the difference between session_unregister() and session_unset()?