ID: 14954
Comment by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: No Feedback
Bug Type: Mail related
Operating System: Windows 2000
PHP Version: 4.1.0
New Comment:
Make sure that you have set the sendmail_from variable in php.ini to a
user which is allowed to send mail in the SMTP server.
Previous Comments:
------------------------------------------------------------------------
[2002-07-23 19:46:28] [EMAIL PROTECTED]
I'm on an SMTP system where in order to send out email, there must
either be a recipient on that SMTP server, or you must authenticate
your username and password to the server in order to use it.
The line
mail("[EMAIL PROTECTED]", "the know","I suck");
works, but the line
mail("[EMAIL PROTECTED]", "the down","I suck");
kicked back the error:
Warning: Server Error in C:\Apache2\htdocs\foobar.php on line xxx
My php.ini:
[mail function]
; For Win32 only.
SMTP=mail.avc.edu
; For Win32 only.
[EMAIL PROTECTED]
; For Unix only. You may supply arguments as well (default: 'sendmail
-t -i').
;sendmail_path=
I wrote a program to intercept the messages being sent to and from my
SMTP server. The php engine was denied because I wasn't authenticated
as a email user to the server. As long as someone @avc.edu is in the
recipient line, the server works. Only when there is no one in avc.edu
and i don't authenticate, I get the boot.
Hope this helps,
Mike Wilmes
------------------------------------------------------------------------
[2002-07-03 01:00:08] [EMAIL PROTECTED]
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-06-02 13:51:03] [EMAIL PROTECTED]
Error handlig has been improvied, please try a snapshot from
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-06-02 06:20:51] [EMAIL PROTECTED]
Ah-Ha.
Edit the php.ini file in %WINDIR
SMTP = mail.xxx.com:25
(add the :25)
------------------------------------------------------------------------
[2002-06-02 06:12:40] [EMAIL PROTECTED]
This bug also appears under Windows Me Apache 1.3.xx
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/14954
--
Edit this bug report at http://bugs.php.net/?id=14954&edit=1