jwk811 Posted November 19, 2006 Share Posted November 19, 2006 i want to send mail then after that do an if..else statment to see if the mail was sent Quote Link to comment https://forums.phpfreaks.com/topic/27777-mail/ Share on other sites More sharing options...
The Little Guy Posted November 19, 2006 Share Posted November 19, 2006 http://www.freewebmasterhelp.com/tutorials/php/5 Quote Link to comment https://forums.phpfreaks.com/topic/27777-mail/#findComment-127093 Share on other sites More sharing options...
wildteen88 Posted November 19, 2006 Share Posted November 19, 2006 You cannot check whether an email has been sent successfully with the mail function. mail will only report any error if there is a problem between the Server and the SMTP server. Anything past the SMTP server is not checked by the mail function. Quote Link to comment https://forums.phpfreaks.com/topic/27777-mail/#findComment-127097 Share on other sites More sharing options...
jwk811 Posted November 19, 2006 Author Share Posted November 19, 2006 well im pretty sure im getting this error: Internal Server Error.. blah blah blah.. because the mail isnt sending successfully. I think this because when i put in an email to send to without an @blahblah.com this will come up. Otherwise it goes through just fine... so instead of that internal error coming up i would have rathered a message come up saying email could not be sent... Quote Link to comment https://forums.phpfreaks.com/topic/27777-mail/#findComment-127106 Share on other sites More sharing options...
wildteen88 Posted November 19, 2006 Share Posted November 19, 2006 Internal Server Error is not from PHP but form Apache. PHP should not cause this sort of error instead it will show its own error message or a blank screen if you have display_errors disabled.the only to see why you're getting the internal server error message is to check your servers error log (error.log) should be What is the error that is logged? Quote Link to comment https://forums.phpfreaks.com/topic/27777-mail/#findComment-127130 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.