Thank you for your patience. I have looked at numerous forums to no avail.
I have a simple form html/php, for visitors to send questions.
The form is on page 1, which submits to page to, echoes the form and then redirects to index.php. The form picks up the data, and posts it on page 2 , but no email arrives in the inbox nor junk box. I whittled everything on page 2 back to
, with still no luck. I have asked my web host but they refuse to assist. Can the problem be within the php.ini file??
The form sends the data from page 1 to page 2 where it is echoed, but nothing arrives in the mail box and no error messages appear.
Many Thanks in advance
I have a simple form html/php, for visitors to send questions.
The form is on page 1, which submits to page to, echoes the form and then redirects to index.php. The form picks up the data, and posts it on page 2 , but no email arrives in the inbox nor junk box. I whittled everything on page 2 back to
Code:
// Send the mail
$to = "tenders@example.com";
$subject = "Enquiry form submitted " . date("F j, Y, g:i a");
$fromaddress = "enquiryform@example.com";
mail($to, $subject, $message);
The form sends the data from page 1 to page 2 where it is echoed, but nothing arrives in the mail box and no error messages appear.
Many Thanks in advance
Comment