AbydosGater Posted June 14, 2006 Share Posted June 14, 2006 HI, I have been writing a form processor,You can view the code at [a href=\"http://pastebin.com/709241\" target=\"_blank\"]http://pastebin.com/709241[/a]But when i run the script, It all runs fine with no error messages,,But the mail is not being sent!Any idea why?#Abydosgater Quote Link to comment https://forums.phpfreaks.com/topic/12013-mail-not-working-any-help/ Share on other sites More sharing options...
ober Posted June 14, 2006 Share Posted June 14, 2006 1) Need more info (your server? hosted somewhere else? do you know if mail() works outside your script?2) Is "submit" a form submit button? If so, you need to check if it isset()... checking to see if it is equal to 1 will never be true. Also, it should be $_POST['submit']... don't forget the quotes!3) Wouldn't hurt to check the return of the mail() function and see if you're getting a valid result. Quote Link to comment https://forums.phpfreaks.com/topic/12013-mail-not-working-any-help/#findComment-45699 Share on other sites More sharing options...
AbydosGater Posted June 14, 2006 Author Share Posted June 14, 2006 No, I tryed it mail does not work on its own, I tryed just a mail on its own, No nothing no errors, but no email.And submit is a hidden field in the fom with a value of 1.Hmm, my server is at www.xeserve.comAnything else you need? Quote Link to comment https://forums.phpfreaks.com/topic/12013-mail-not-working-any-help/#findComment-45705 Share on other sites More sharing options...
ober Posted June 14, 2006 Share Posted June 14, 2006 Talk to the host. Quote Link to comment https://forums.phpfreaks.com/topic/12013-mail-not-working-any-help/#findComment-45707 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.