#40984 [Opn->Bgs]: Feed back not working
| From: | derick@php.net | Date: | Tue, 03 Apr 2007 08:46:17 +0000 |
| Subject: | #40984 [Opn->Bgs]: Feed back not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111040@lists.php.net to get a copy of this message | ||
ID: 40984
Updated by: derick@php.net
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="sivanarayanan_s@eth.net";
$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, sivanarayanan_s@eth.net.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40984&edit=1