Hi There, this is quite a strange one really, im pretty sure its not my coding, as it is an exact cut and paste off a working script.
I intermittantly get the following error, when trying to send an email using the mail() function:
========
// Send Confirmation Email
mail($_POST['email'], "Site.co.uk Password Reset Request", "Dear $us,
According to our records, it seems you have requested to change your password using our Forgot Password feature. To choose an alternative password for your account, you must click on, or type the following address into your web browser:
http://www.site.co.uk/Reset_Password_Change.php?username=$us&hash=$hash.
If you havent requested a change of password, then please ignore this email.
Enjoy site.co.uk!
The site.co.uk Team.", "From: ResetPassword@site.co.uk");
// Confirm Signup to user
print "Your Request has been Processed. Please check your '$email' email account for further information.";
======
The Error Message is:
Warning: mail() [function.mail]: Could not execute mail delivery program in /home/ehelper/public_html/reset_password_process.php on line 42
Your Request has been Processed. Please check your 'jonathan.dunn@site.co.uk' email account for further information.
Any Ideas??!!
This exact script works fine on another php page??!
Any help would be great,
Jonathan