note 20486 rejected from ref.mail by torben
| From: | torben@php.net | Date: | Fri, 05 Apr 2002 06:32:01 +0000 |
| Subject: | note 20486 rejected from ref.mail by torben | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-28647@lists.php.net to get a copy of this message | ||
I have a quick question that I need help with. First off here is my code:
<?php
if(isset($submit))
{
$to = "fortemj@clarkson.edu";
$subject = "Feedback from your website!";
$body = "A user has entered feed back on the site.\n";
$body .= "Their feedback is \n\n";
$body .= $feedback;
mail($to, $subject, $body);
print("<h3>Thanks for your feedback!</h3><br>You
entered:<br>$feedback");
}
else
{
?>
and my php.ini file reads:
[mail function]
SMTP= mail.clarkson.edu; for Win32 only
sendmail_from= fortemj@clarkson.edu; for Win32 only
I am trying to send out mail using my college's mail server which is on a unix machine. But it
is just now working. How do I do this? The site server is on a windows machine.