Question
php Mail script does not work
Sir,
The php mail script doesn't work while i am host server. That script i have already work in linux server that time it's work but here doesn't work. I have mentioned below what i have done in mail script in php.
$to = 'fletcherram@gmail.com';
$subject = 'Contact Form Submitted.';
$body = "Name: "working";
$email='karthikeyan025@hotmail.com';
$mailchk = mail($to, $subject, $body, $email);
if($mailchk) {
echo " alert('Activated Successfully. Kindly Check your Mail');";
}
else{
echo " alert('error');";
}
can you help me..
Add a comment
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×