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
Is php case sensitive?
Why should I learn php?
What is the difference between super () and this ()?
Where are cookies stored php?
What are the environmental variables?
How to assigning a new character in a string?
What is a helper function?
How do I run php?
What is helper library?
How to swap two variables without using 3rd temp variable.
Code to open file download dialog in PHP?
What the difference between the 'bitwise and' operator and the 'logical and' operator?
Write a program to show the joining of two strings in php?
What are the advantages of stored procedures, triggers, indexes in php?
Explain Type hinting in PHP?