Re: Server error when executing mail() function
| From: | Manuel Lemos | Date: | Tue, 28 May 2002 16:25:07 +0000 |
| Subject: | Re: Server error when executing mail() function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-99504@lists.php.net to get a copy of this message | ||
Hello,
On 05/28/2002 11:06 AM, Paul Cuthbertson wrote:
Hi, I keep getting a 'Server Error' when executing the mail() function. I thought the problem was the SMTP server in php.ini, so I've tried several alternatives (including my Outlook smtp and free smtp servers). I'm starting to think that it's not that that's causing the problem. Is there anything else that can cause the same error? Info: OS: Win98 PHP Version: 4.1.2 Web Server: Apache/1.3.6 (Win32) Browser: MSIE 6.0If the SMTP server is on a different machine, most likely your server requires authentication. Anyway, to see exactly what is going on, you may want to try this SMTP client class for sending messages eventually to servers that require authentication, just enable debug to see exactly why messages are being rejected: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos