ID:               19822
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         IIS related
 Operating System: Windows 2000 Server SP3
 PHP Version:      4.2.3
 New Comment:

Thank you! using the snap shot actually helped me out a little bit,
right now I know the problem:

Warning: mail() [function.mail]: SMTP server response: 451 See
http://pobox.com/~djb/docs/smtplf.html. in D:\Web\phpcollab\mail.php on
line 3

But now I need to know how to solve it!, I've been using PHP for a
while and this is the first this happens to me, so I suppose that is a
Win2k SP3 IIS problem.

Thank you in advance!


Previous Comments:
------------------------------------------------------------------------

[2002-10-10 02:36:36] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip

The latest NON-STABLE snapshot contains a more improved error handling
so instead of the useless "server error" you will get the real error
message from the server.

Looking briefly at your line I think you're either missing an SMTP
directive or the "sendmail_from" directive which both are required for
Win32.

------------------------------------------------------------------------

[2002-10-08 17:22:22] [EMAIL PROTECTED]

Are you sure your php.ini file is read by PHP?
Check from the phpinfo() output to what value SMTP is set.


------------------------------------------------------------------------

[2002-10-08 15:49:07] [EMAIL PROTECTED]

Thank you for replying!

That's not the problem because go the the cmd and type:

telnet smtp.uservers.net 25

And it connects perfectly, I can do all the HELO, TO, RCPT, etc... and
it works without a problem

------------------------------------------------------------------------

[2002-10-08 15:10:22] [EMAIL PROTECTED]

The error you are seeing implies that there somekind of a problem using
the SMTP server you've specified in you php.ini. Please verify that the
specified SMTP server is avaliable and working correctly.

------------------------------------------------------------------------

[2002-10-08 14:39:20] [EMAIL PROTECTED]

I want to use the mail function but it always trigger the following
warning:

Warning: Server Error in D:\Web\phpcollab\mail.php on line 3

I tried to run PHP as ISAPI and CGI and it's the same problem.

The source of mail.php is:
<?php

mail ("[EMAIL PROTECTED]", "My subject", "Line 1\nLine 2\nLine 3");

?>

I'm almost sure that this is a bug because I've installed PHP plenty of
times in different machines and it's the first time I have this
problem.

Thank you in advance!

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19822&edit=1

Reply via email to