Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-22 Thread mfischer

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Feedback
+Status:   Open
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
-Assigned To:  
+Assigned To:  mfischer
 New Comment:

The win32/mail() implementation suffers some inherent problems. I'll
see what I can do, but being busy right now, this can take until next
weekend. Assigning to me.


Previous Comments:


[2002-05-21 18:40:38] [EMAIL PROTECTED]

Interesting, I downgraded to PHP 4.2.1 again since the mail 
failing is causing us a lot of grief (scripts randomly fail 
after this occurrs) and have discovered that the mail 
doesn't work properly there either!  That said when you 
initially restart Apache the mail does work for a short 
while, must be what caught me out when I tested it last 
night, and THEN it stops working.

The mail function being screwy in PHP 4.2.1 must have been 
a problem for us before, as a form that sends me e-mails 
has been generating hundreds less e-mails per day than I 
would have expected and I had formerly written it off as 
lack of interest (even though the Apache logs showed 
otherwise), so looks like it's not specific to PHP 4.3.dev 
but instead either PHP 4.2.1 or PHP 4.2.0 (don't have the 
time right at the moment to double check this).



[2002-05-21 06:50:38] [EMAIL PROTECTED]

Downgrade to PHP 4.2.1 mail works, upgrade back to PHP 
4.3.dev mail fails.  Reservedly restarted whole server, no 
change.



[2002-05-21 05:22:20] [EMAIL PROTECTED]

Please delete duplicate posts, refreshed wrong window - 
SORRY :(



[2002-05-21 05:20:14] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 05:18:58] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-22 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 Assigned To:  mfischer
 New Comment:

Mail has been better throughout the day, certainly not 
perfect (lots of messages missing) but at least PHP 4.2.1 
is able to get SOME mail out as opposed to PHP 4.3.dev.  
Unfortunately by reverting back the cookie problem with 
4.2.x is again causing us hell :\

I've been doing some reading around and found that mail 
under Win32 with PHP has always been a little screwy - will 
be great to finally have that improved, to the benefit of 
all PHP users.  I appreciate your time is short and 
valuable,  I'll do whatever I can to make your efforts 
worthwhile (you into DVD?).


Previous Comments:


[2002-05-22 03:17:13] [EMAIL PROTECTED]

The win32/mail() implementation suffers some inherent problems. I'll
see what I can do, but being busy right now, this can take until next
weekend. Assigning to me.



[2002-05-21 18:40:38] [EMAIL PROTECTED]

Interesting, I downgraded to PHP 4.2.1 again since the mail 
failing is causing us a lot of grief (scripts randomly fail 
after this occurrs) and have discovered that the mail 
doesn't work properly there either!  That said when you 
initially restart Apache the mail does work for a short 
while, must be what caught me out when I tested it last 
night, and THEN it stops working.

The mail function being screwy in PHP 4.2.1 must have been 
a problem for us before, as a form that sends me e-mails 
has been generating hundreds less e-mails per day than I 
would have expected and I had formerly written it off as 
lack of interest (even though the Apache logs showed 
otherwise), so looks like it's not specific to PHP 4.3.dev 
but instead either PHP 4.2.1 or PHP 4.2.0 (don't have the 
time right at the moment to double check this).



[2002-05-21 06:50:38] [EMAIL PROTECTED]

Downgrade to PHP 4.2.1 mail works, upgrade back to PHP 
4.3.dev mail fails.  Reservedly restarted whole server, no 
change.



[2002-05-21 05:22:20] [EMAIL PROTECTED]

Please delete duplicate posts, refreshed wrong window - 
SORRY :(



[2002-05-21 05:20:14] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-22 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 Assigned To:  mfischer
 New Comment:

BLOODY COMPUTERS!!!  PHP 4.2.1's mail handling is fine as I originally
said, the reason I was missing mail yesterday was due to IE on my Mac
not refreshing the pages I was constantly reloading.  Mail is flowing
through just fine and refreshing one of my forms via my PC causes a
mail every time.

So it's what I originally said - mail fails under PHP 4.3.dev but works
under PHP 4.2.1.  Sorry for the confusion... argh!!!


Previous Comments:


[2002-05-22 08:33:53] [EMAIL PROTECTED]

Mail has been better throughout the day, certainly not 
perfect (lots of messages missing) but at least PHP 4.2.1 
is able to get SOME mail out as opposed to PHP 4.3.dev.  
Unfortunately by reverting back the cookie problem with 
4.2.x is again causing us hell :\

I've been doing some reading around and found that mail 
under Win32 with PHP has always been a little screwy - will 
be great to finally have that improved, to the benefit of 
all PHP users.  I appreciate your time is short and 
valuable,  I'll do whatever I can to make your efforts 
worthwhile (you into DVD?).



[2002-05-22 03:17:13] [EMAIL PROTECTED]

The win32/mail() implementation suffers some inherent problems. I'll
see what I can do, but being busy right now, this can take until next
weekend. Assigning to me.



[2002-05-21 18:40:38] [EMAIL PROTECTED]

Interesting, I downgraded to PHP 4.2.1 again since the mail 
failing is causing us a lot of grief (scripts randomly fail 
after this occurrs) and have discovered that the mail 
doesn't work properly there either!  That said when you 
initially restart Apache the mail does work for a short 
while, must be what caught me out when I tested it last 
night, and THEN it stops working.

The mail function being screwy in PHP 4.2.1 must have been 
a problem for us before, as a form that sends me e-mails 
has been generating hundreds less e-mails per day than I 
would have expected and I had formerly written it off as 
lack of interest (even though the Apache logs showed 
otherwise), so looks like it's not specific to PHP 4.3.dev 
but instead either PHP 4.2.1 or PHP 4.2.0 (don't have the 
time right at the moment to double check this).



[2002-05-21 06:50:38] [EMAIL PROTECTED]

Downgrade to PHP 4.2.1 mail works, upgrade back to PHP 
4.3.dev mail fails.  Reservedly restarted whole server, no 
change.



[2002-05-21 05:22:20] [EMAIL PROTECTED]

Please delete duplicate posts, refreshed wrong window - 
SORRY :(



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.


Previous Comments:


[2002-05-21 01:52:06] [EMAIL PROTECTED]

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?



[2002-05-20 22:57:55] [EMAIL PROTECTED]

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');



[2002-05-20 19:09:31] [EMAIL PROTECTED]

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?



[2002-05-20 19:05:19] [EMAIL PROTECTED]

Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing
us chronic chaos and this was the only means to correct it) I am
getting the following error each time a script tries to e-mail:

PHP Warning:  mail() SMTP server response: 501 Syntax Error in
parameters or arguments in *SCRIPTNAME* on line xxx

PHP 4.3 is running as an Apache2 module on W2K, only additional module
loaded is GZIP.  Never had any e-mail problems before (other than time
stamps on PHP e-mails being incorrect, a long-time known bug).




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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread mfischer

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.


Previous Comments:


[2002-05-21 04:39:01] [EMAIL PROTECTED]

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.



[2002-05-21 01:52:06] [EMAIL PROTECTED]

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?



[2002-05-20 22:57:55] [EMAIL PROTECTED]

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');



[2002-05-20 19:09:31] [EMAIL PROTECTED]

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?



[2002-05-20 19:05:19] [EMAIL PROTECTED]

Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing
us chronic chaos and this was the only means to correct it) I am
getting the following error each time a script tries to e-mail:

PHP Warning:  mail() SMTP server response: 501 Syntax Error in
parameters or arguments in *SCRIPTNAME* on line xxx

PHP 4.3 is running as an Apache2 module on W2K, only additional module
loaded is GZIP.  Never had any e-mail problems before (other than time
stamps on PHP e-mails being incorrect, a long-time known bug).




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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).


Previous Comments:


[2002-05-21 04:49:54] [EMAIL PROTECTED]

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.



[2002-05-21 04:39:01] [EMAIL PROTECTED]

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.



[2002-05-21 01:52:06] [EMAIL PROTECTED]

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?



[2002-05-20 22:57:55] [EMAIL PROTECTED]

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');



[2002-05-20 19:09:31] [EMAIL PROTECTED]

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).


Previous Comments:


[2002-05-21 04:56:47] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:49:54] [EMAIL PROTECTED]

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.



[2002-05-21 04:39:01] [EMAIL PROTECTED]

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.



[2002-05-21 01:52:06] [EMAIL PROTECTED]

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?



[2002-05-20 22:57:55] [EMAIL PROTECTED]

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).


Previous Comments:


[2002-05-21 05:18:58] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:56:47] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:49:54] [EMAIL PROTECTED]

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.



[2002-05-21 04:39:01] [EMAIL PROTECTED]

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.



[2002-05-21 01:52:06] [EMAIL PROTECTED]

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Please delete duplicate posts, refreshed wrong window - 
SORRY :(


Previous Comments:


[2002-05-21 05:20:14] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 05:18:58] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:56:47] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:49:54] [EMAIL PROTECTED]

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.



[2002-05-21 04:39:01] [EMAIL PROTECTED]

Forgot to mention that this error 9/10 causes the Apache 
child to exit and a new one to spawn and that occasionally 
an e-mail does get to its destination.

Now, I made the change you requested and no more errors are 
appearing in the error log - HOWEVER it isn't working as 
you'd expect.  Thus far out of around 30 or so refreshes 
I've only ended up with two e-mails plus the Apache child 
bombed out a couple of times and respawned.



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Downgrade to PHP 4.2.1 mail works, upgrade back to PHP 
4.3.dev mail fails.  Reservedly restarted whole server, no 
change.


Previous Comments:


[2002-05-21 05:22:20] [EMAIL PROTECTED]

Please delete duplicate posts, refreshed wrong window - 
SORRY :(



[2002-05-21 05:20:14] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 05:18:58] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:56:47] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:49:54] [EMAIL PROTECTED]

First, the From: DVD
Plaza (Support) [EMAIL PROTECTED] syntax isn't supported on
win32 and never was. Only addresses in the simple form of [EMAIL PROTECTED]
are supported.

Cay you try to revert to 4.2.1 and see if all emails get through at
least ? But be aware that you need to use the ini setting
sendmail_from in 4.2.1, From: in the header isn't support in this
release.



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-21 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Interesting, I downgraded to PHP 4.2.1 again since the mail 
failing is causing us a lot of grief (scripts randomly fail 
after this occurrs) and have discovered that the mail 
doesn't work properly there either!  That said when you 
initially restart Apache the mail does work for a short 
while, must be what caught me out when I tested it last 
night, and THEN it stops working.

The mail function being screwy in PHP 4.2.1 must have been 
a problem for us before, as a form that sends me e-mails 
has been generating hundreds less e-mails per day than I 
would have expected and I had formerly written it off as 
lack of interest (even though the Apache logs showed 
otherwise), so looks like it's not specific to PHP 4.3.dev 
but instead either PHP 4.2.1 or PHP 4.2.0 (don't have the 
time right at the moment to double check this).


Previous Comments:


[2002-05-21 06:50:38] [EMAIL PROTECTED]

Downgrade to PHP 4.2.1 mail works, upgrade back to PHP 
4.3.dev mail fails.  Reservedly restarted whole server, no 
change.



[2002-05-21 05:22:20] [EMAIL PROTECTED]

Please delete duplicate posts, refreshed wrong window - 
SORRY :(



[2002-05-21 05:20:14] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 05:18:58] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



[2002-05-21 04:56:47] [EMAIL PROTECTED]

We've beeen using the mail command in that fashion without 
problem since 4.0.6???  This is the first time I've had to 
touch the mail commands?!?!?  It was working fine under 
4.2.1, problem only started the second I upgraded to php 
4.3.dev (which was purely for the cookie fix).



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/17322

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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-20 Thread mfischer

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?


Previous Comments:


[2002-05-20 19:05:19] [EMAIL PROTECTED]

Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing
us chronic chaos and this was the only means to correct it) I am
getting the following error each time a script tries to e-mail:

PHP Warning:  mail() SMTP server response: 501 Syntax Error in
parameters or arguments in *SCRIPTNAME* on line xxx

PHP 4.3 is running as an Apache2 module on W2K, only additional module
loaded is GZIP.  Never had any e-mail problems before (other than time
stamps on PHP e-mails being incorrect, a long-time known bug).




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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-20 Thread chris

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');


Previous Comments:


[2002-05-20 19:09:31] [EMAIL PROTECTED]

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?



[2002-05-20 19:05:19] [EMAIL PROTECTED]

Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing
us chronic chaos and this was the only means to correct it) I am
getting the following error each time a script tries to e-mail:

PHP Warning:  mail() SMTP server response: 501 Syntax Error in
parameters or arguments in *SCRIPTNAME* on line xxx

PHP 4.3 is running as an Apache2 module on W2K, only additional module
loaded is GZIP.  Never had any e-mail problems before (other than time
stamps on PHP e-mails being incorrect, a long-time known bug).




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




Bug #17322 Updated: mail() fails (501 Syntax Error) under latest CVS

2002-05-20 Thread mfischer

 ID:   17322
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: Mail related
 Operating System: Windows 2000
 PHP Version:  4.0CVS-2002-05-20
 New Comment:

Can you try instead of
From: DVD
Plaza (Support) [EMAIL PROTECTED]

just

From: [EMAIL PROTECTED]

?


Previous Comments:


[2002-05-20 22:57:55] [EMAIL PROTECTED]

The simplest example would probably be the one below, since the
addresses are all hardcoded (simply an auto-notification for myself)
whereas all other mailings are obviously dynamic:

mail('[EMAIL PROTECTED]', 'Invite Issued To ' .
$PlazaUser[username], 'An invite was just produced for: ' .
$PlazaUser[username], 'From: DVD Plaza (Support)
[EMAIL PROTECTED]');



[2002-05-20 19:09:31] [EMAIL PROTECTED]

Finally! You're the first who uses the updated win32/mail() code it
seems.

This error response you get seems really bogus. Can you try to cut down
the *exakt* parameters you pass to the mail() function which causes
this error?



[2002-05-20 19:05:19] [EMAIL PROTECTED]

Since upgrading to the CVS of PHP 4.3 (HAD to - bug #16626 was causing
us chronic chaos and this was the only means to correct it) I am
getting the following error each time a script tries to e-mail:

PHP Warning:  mail() SMTP server response: 501 Syntax Error in
parameters or arguments in *SCRIPTNAME* on line xxx

PHP 4.3 is running as an Apache2 module on W2K, only additional module
loaded is GZIP.  Never had any e-mail problems before (other than time
stamps on PHP e-mails being incorrect, a long-time known bug).




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