adspace


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

How to create a web form?

1113


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1080


Which variable declarations within a class is invalid in php?

1050


List some features of php that are deprecated in php7?

1024


What is difference between static and final in php?

1109


how to detect a mobile device using php

1174


Explain me is it possible to destroy a cookie?

1032


sort term descripttion form, report and uery

2254


How to calculate the difference between two dates using php?

1147


What is the difference between htmlentities() and htmlspecialchars()?

1094


Write a program using while loop?

1122


What sized websites have you worked on in the past?

1088


What does $_files means?

1166


Tell me what kind of things have you done on the social side?

1067


What is the current stable version of php? What advance thing in php7?

1095