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] Link to comment https://forums.phpfreaks.com/topic/234741-auto-clear-php-form-n-conenction-bet-php-n-flex-project/ 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? Link to comment https://forums.phpfreaks.com/topic/234741-auto-clear-php-form-n-conenction-bet-php-n-flex-project/#findComment-1206318 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. Link to comment https://forums.phpfreaks.com/topic/234741-auto-clear-php-form-n-conenction-bet-php-n-flex-project/#findComment-1206368 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 : [email protected]' Link to comment https://forums.phpfreaks.com/topic/234741-auto-clear-php-form-n-conenction-bet-php-n-flex-project/#findComment-1206382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.