Quote:
Thanks for your reply. I have tried with the following code with the corrections that you have suggested:
<?php
$to = 'maheshkumar.davuluri@bipsum.com';
$subject = $_POST['txtSub'];
$name = $_POST['txtName'];
$com = $_POST['txtCom'];
$email= $_POST['txtEmail'];
$city = $_POST['txtCity'];
$con = $_POST['txtContry'];
$ph1 = $_POST['txtPh1'];
$ph2 = $_POST['txtPh2'];
$comm = $_POST['txtAr'];
$headers = "From: maheshkumar.davuluri@gmail.com\r\n";
$message = "---------------------------\n".
"----Sender's detail's------\n".
"Name of the Sender : $name\n".
"Company Name : $com\n".
"Email Id is : $email\n".
"City : $city\n".
"Country : $con\n".
"Contact number : code-$ph1 , number-$ph2\n".
"-----Comment's------------\n".
"$comm\n".
"--------------------------\n";
mail($to,$subject,$message,$headers);
header("Location:http://www.bipsum.com/thankyou.html");
exit;?>
now mail delivery is fine but it is not appearing in the inbox at the destination. Please help me in this regard
thanks
|
How do you know that delivery works if it's not showing up in your inbox?
Are you sure you're sending it to the correct address?
P.S. - Please keep the conversation in the forums.