note 20486 added to ref.mail

From: Date: Fri, 05 Apr 2002 04:30:14 +0000
Subject: note 20486 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-28644@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. -- http://www.php.net/manual/en/ref.mail.php http://master.php.net/manage/user-notes.php?action=edit+20486 http://master.php.net/manage/user-notes.php?action=delete+20486 http://master.php.net/manage/user-notes.php?action=reject+20486

« previous php.notes (#28644) next »