RE: [PHP-WIN] Mail/PHP/Apache

From: Date: Wed, 14 Mar 2001 09:42:10 +0000
Subject: RE: [PHP-WIN] Mail/PHP/Apache
Groups: php.windows 
Request: Send a blank email to php-windows+get-6007@lists.php.net to get a copy of this message
I'm also running Apache+PHP4+xtras on a Win98SE machine and have NO problems sending mail; in fact, I use it on my 404.php error generator to send an email to the webmaster (me!) whenever a broken link is requested and it works absolutely fine! Hints: - Have you tried using the IP of your ISP's mail server? - Do you have a permanent link to it? - Can you use an email program on that machine (look for freeware, no-install email programs on tucows) and send mail from it? - Are you running php as an executable or as a module? I'm using it as a module without any problems. - Did you check for multiple copies of PHP.INI? - Is PHP.INI in your C:\Windows\ folder? Just a few thinks to check for... HTH, Fernando Madruga > I am experiencing technical difficulties! I have Apache and PHP 4 installed > on a Windows 98SE machine. Everything is working perfectly except the mail > function. I have updated the ini file to use my ISP's mail SMTP server. I > have even tried installing an e-mail server on my machine, which works, but > I still get the following (not so helpful) error: > Warning: Unknown error in e:\apache\htdocs\main\send_simpleform.php on line 10. > Here is line 10: > mail("$to", "$subject", "$msg", "$mailheaders");

« previous php.windows (#6007) next »