Hiya,
I have a strange occurence: I configured my php.ini to use the SMTP of my ISP.
[mail function]
; For Win32 only.
SMTP = smtp.freeserve.co.uk
I have created a email function:
function to send a confirmation mail to user regarding username and password
function email ($username, $email, $password)
{
$email_add =$email;
$subject = "BUG WORLD CONFIRMATION";
$mailcontent = "Your Username is: ".$username."\n"
"Your Password is: ".$password."\n";
$fromaddress = "BugWorld Bug Tracking
\nPlease store this email in a secure place or delete for
\nsecurity purposes";
mail($email_add, $subject, $mailcontent,$fromaddress);
return true;
}
Now Im sure I had the mail function working sending email. When I didnt it was down to the SMTP server. Changing the SMTP server usually did the trick But all day today I havent been able to send a mail
I get this error:
Warning: mail() [function.mail]: SMTP server response: 451 Temporary local problem - please try later in C:\Program Files... ...\on line 118
Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files.......\ on line 119
What worries me is the error states its a local problem? has sumthing gone wrong with my code or is it a SMTP problem which can be rectified by using a different SMTP????
Thanks for any help u can give
Bob