nandakishore_nani Posted April 26, 2011 Share Posted April 26, 2011 I had a problem i ahd written a form for conatct page and aftr i enter al details n ckc subit its not gng to email id given. Also telme how to auto clear the form page after submiting. Also plz hel me how to conect this php file with flex project. plz telme its urgent php code is below [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
gristoi Posted April 26, 2011 Share Posted April 26, 2011 For starters you haven't added the message into the Mail function. secondly, are you testing this from your localhost, and if so do u have an email server installed? Quote Link to comment Share on other sites More sharing options...
nandakishore_nani Posted April 26, 2011 Author Share Posted April 26, 2011 Hello i ahd added message in the code but didnt get any mail i ahd hosted dat website. Quote Link to comment Share on other sites More sharing options...
gristoi Posted April 26, 2011 Share Posted April 26, 2011 Try sending a static email to test if the actual email functionality is working mail('youremailaddress@somewhere','test subject','test message'); If that dosent send then you need to ensure your web hosting has email functionality enabled. Otherwise you need to echo out each of the variables. Your 'from' is a header parameter and should be in the correct format 'From : me@emailaddress.com' Quote Link to comment 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.