[PHP] Re: Server error when executing mail() function

2002-05-28 Thread Manuel Lemos

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.0

If 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Server error when executing mail() function

2002-05-28 Thread Manuel Lemos

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.0

If 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php