ID: 40984 Updated by: [EMAIL PROTECTED] Reported By: sivanarayanan_s at eth dot net -Status: Open +Status: Bogus Bug Type: *Mail Related Operating System: Windows XP PHP Version: 5.2.1 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. . Previous Comments: ------------------------------------------------------------------------ [2007-04-03 08:41:01] sivanarayanan_s at eth dot net Description: ------------ I've designed test feedback.php form. But it's not working. I've changed code in php.ini (windows dir).SMTP=smtp.eth.net (my ISP), but phpinfo() showing SMTP=localhost. Can you please help me out in this situation. I'm learing PHP now. Kindly help me. Reproduce code: --------------- <html> <head> <title>feedback</title> </head> <body> <?php if(isset($submit)): $to="[EMAIL PROTECTED]"; $subject=" Feedback for the website!"; $body= "A user has entered feedback on the site!\n"; $body .= "Their feedback is:\n\n"; $body .= $feedback; mail($to, $subject, $body); print("<h2> Thanks for your feedback!</h>"); else: ?> <form action="mail2.php" method="POST"> <h> Please send us your feedback</h2> <textarea cols=35 rows=15 name="feedback"> </textarea> <br> <input type="submit" name="submit" value="Submit"> </form> <? endif; ?> </body> </html> (above code, I've taken it from my PHP book) Expected result: ---------------- mail not received Actual result: -------------- mail should reach, [EMAIL PROTECTED] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40984&edit=1
