Hello,
I changed the PHP script to be how you said but nothing in my email account.
Is there supposed to be something in Cpanel that enables mail to be sent to a user account?
Hello,
I changed the PHP script to be how you said but nothing in my email account.
Is there supposed to be something in Cpanel that enables mail to be sent to a user account?
$email_to I thought was meant to be the email address with x10hosting so would I need to include an additional variable for the Reply to header and are these standard variable names in PHP?
The form worked with another hosting but for some reason my account was terminated (I prefer X10 actually...
<?php
if(isset($_POST['email'])) {
$email_to = "";
$email_subject = "Enquiry";
function died($error) {
// your error code can go here
echo "We are very sorry, but there were error(s) found with the form you submitted. ";
echo "These errors appear...
Thank you for getting back to me.
As I say, the hosting account and forum account are different so can I PM you the details?
Otherwise I am quite happy to publish here.
Cheers
there is a $email_from variable but that is for the person filling out the form.
the $email_to variable contains an email address that is hosted by x10hosting in my hosting account (not on this email address)
I got this working with another web host so the problem is not the script I'm afraid...
Hi,
I am currently using the free web hosting product and have decided to create a PHP web form, however while I am able to receive emails from other accounts, nothing comes from the web form submission.
I believe I first need to have an email address that must be on the x10 hosting server...