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


Please Help Members By Posting Answers For Below Questions

Why do we use query?

502


List some sorting functions in php?

549


What is curl php?

529


How to define a user function?

569


In php, how to redirect from one page to another page?

514






Why do we use in php?

538


Is session a cookie?

555


Explain some of the php array functions?

574


What is the difference between get and post method in php?

496


What is return in php function?

488


What is __ construct in php?

539


Explain the difference between array_merge() and array_combine()?

530


How to get best php developer Experience in Php with Sugar CRM / VTiger.

3967


What is the most common http method?

515


in PHP for pdf which library used?

556