Windows mail() problem... HELP!!!

From: Date: Tue, 15 Aug 2000 15:22:57 +0000
Subject: Windows mail() problem... HELP!!!
Groups: php.windows 
Request: Send a blank email to php-windows+get-1818@lists.php.net to get a copy of this message
OK, I am trying to get mail() working but Apache/PHP seem to hang when the mail() function is called. PHP version: 4.0.1 pl2 Apache Version: 1.3 OS: Windows 98 internet connection: cable modem with static IP Here is the script: <? // send a test e-mail $mailto = "radstream@lvcm.com"; $mailsubject = "test123---send"; $mailbody = "This is a test e-mail body..."; $mailheaders = "From: ken@radstream.com\n"; $mailheaders .= "Reply-to: radstream@lvcm.com\n"; $mailheaders .= "Content-Type: text/plain; charset=iso-8859-1\n"; $mailheaders .= "X-Mailer: CBAS v1.0.09\n"; // send it! $mailok = mail($mailto, $mailsubject, $mailbody, $mailheaders); print($mailok); ?> php.ini snippet... [mail function] SMTP = smtp.lvcm.com ;for win32 only sendmail_from = webmaster@radstream.com ;for win32 only ;sendmail_path = ;for unix only, may supply arguments as well (default is sendmail -t) It also hangs when I try using mail() from PHPFORUM. Any help would be appreciated! TIA Ken Linder www.radstream.com

« previous php.windows (#1818) next »