[PHP] defending PHP mail function
Title: Blank Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+. It seems that some email addresses will simply "not work" with mail. I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347single=1) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
Blankwhat os was it?!?!? - Original Message - From: Matthew Luchak To: Php-General (E-mail) Sent: Thursday, November 01, 2001 2:04 AM Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+. It seems that some email addresses will simply not work with mail. I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347single=1 ) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
WIN 2000 Blankwhat os was it?!?!? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
Which addresses won't work? - Original Message - From: Matthew Luchak [EMAIL PROTECTED] To: Php-General (E-mail) [EMAIL PROTECTED] Sent: Thursday, November 01, 2001 2:04 AM Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+. It seems that some email addresses will simply not work with mail. I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347 http://www.zend.com/codex.php?id=347single=1 single=1 ) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
My favorite email libraries are .. SMTP class http://www.phpguru.org/download.php?script_id=10 And working in conjunction with SMTP class .. HTML Email Class http://www.phpguru.org/download.php?script_id=4 -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 8:04 AM To: Php-General (E-mail) Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+. It seems that some email addresses will simply not work with mail. I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347single=1 ) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
thats wierd it added blank infront of it all...wierd it might have been the smtp server its self that had rules or something... - Original Message - From: Matthew Luchak [EMAIL PROTECTED] To: Php-General (E-mail) [EMAIL PROTECTED] Sent: Thursday, November 01, 2001 2:09 AM Subject: RE: [PHP] defending PHP mail function WIN 2000 Blankwhat os was it?!?!? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
I'd be interested to see an example of an address that will not work Which MTA are you using? On which OS? More info! (obPeeve): Please don't post in HTML. Cheers Jon -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: 31 October 2001 16:04 To: Php-General (E-mail) Subject: [PHP] defending PHP mail function Recently I have had to defend the use of PHP in light of a number of screw-ups with the mail function in 4.0+. It seems that some email addresses will simply not work with mail. I have been shopping around for a smtp direct class ( http://www.zend.com/codex.php?id=347single=1 ) looks pretty good to me and was wondering if anyone has any experiences, shortcuts etc. to this kind of problem with mail. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
The addresses I know about are clients that are already a little peeved with me so I can't send them out for testing but I have found at least 4 addresses that will not work (no error message, just dead air) with Mail(). It is something about the string of letters that does it because if I try [EMAIL PROTECTED] it doesn't mail. If I try [EMAIL PROTECTED], or the like, it mails. I first noticed this problem when inserting addresses into the From: field and have now found it happening (not) in the To: field. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:10 AM To: Matthew Luchak; Php-General (E-mail) Subject: Re: [PHP] defending PHP mail function Which addresses won't work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
On Wednesday 31 October 2001 08:16 am, you wrote: The addresses I know about are clients that are already a little peeved with me so I can't send them out for testing but I have found at least 4 addresses that will not work (no error message, just dead air) with Mail(). It is something about the string of letters that does it because if I try [EMAIL PROTECTED] it doesn't mail. If I try [EMAIL PROTECTED], or the like, it mails. Not that I doubt you, but I do suspect a problem other than PHP, such as a strange, non-printing character getting inserted in the email address somewhere (like at the end) or a newline character. It could also be a problem with the SMTP server that you're using. I highly recommend that you try this out on another, totally different PHP server (esp. one that runs on Apache/*nix, since that doesn't use SMTP to transport mail) That will help you isolate the exact area where the problem occurs. If you want to contact me off list, I'd be happy to help out with some simple tests. --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
Well hey, if mail() won't send to those addresses, what's wrong with us testing them? :-) ahem Can you send to those addresses from a regular email client? If so, can you do it from the command line with your MTA? jon@maya~$ sendmail [EMAIL PROTECTED] hello there . Cheers Jon -Original Message- From: Matthew Luchak [mailto:[EMAIL PROTECTED]] Sent: 31 October 2001 16:17 To: Php-General (E-mail) Subject: RE: [PHP] defending PHP mail function The addresses I know about are clients that are already a little peeved with me so I can't send them out for testing but I have found at least 4 addresses that will not work (no error message, just dead air) with Mail(). It is something about the string of letters that does it because if I try [EMAIL PROTECTED] it doesn't mail. If I try [EMAIL PROTECTED], or the like, it mails. I first noticed this problem when inserting addresses into the From: field and have now found it happening (not) in the To: field. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Jason Brooke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:10 AM To: Matthew Luchak; Php-General (E-mail) Subject: Re: [PHP] defending PHP mail function Which addresses won't work? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
Well hey, if mail() won't send to those addresses, what's wrong with us testing them? :-) ;) Can you send to those addresses from a regular email client? If so, can you do it from the command line with your MTA? Of course I am talking about valid addresses, in fact there is at least one address that works with 4.04 but not with 4.06. I apologize about being vague with the addresses that fail but I obviously can't be sending out my client's email addresses for testing - for now it's PHP that's in question - if I send out the client's addresses well... management might just decide to kill two birds with one stone. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
On Wednesday 31 October 2001 08:40 am, you wrote: for now it's PHP that's in question AFAIK, this is the first I've ever heard of probelms with mail() not sending to perfectly valid email addresses. Scalability issues and other performance problems, sure, but that's a different animal. Given the number of people that use PHP (and use mail(), especially) I would certainly think this problem would have been reported before if it were a real bug. So, to be blunt, you probably have a problem with your code, your SMTP server, the way you've configured PHP, or something other than mail(). It's easy to blame it on mail() and/or PHP, but I think you're barking up the wrong tree. Find a forgiving customer who reported the problem, ask for their help in troubleshooting it and then send some test emails from a completely different server, preferably on a *nix platform. (not because *nix is better than windows, but because *nix PHP doesn't use smtp for mail delivery) --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
OK. here's why I think it's in PHP's SMTP support: There is an address that fails in 4.06 yet functions in 4.04 - exactly the same code, same SMTP server, same .ini, everything the same. I wouldn't question the class if I hadn't tested my own code and settings first. I've been trying to track this down for the past two weeks and have already been advised by someone on this list that PHP's SMTP support is not the greatest: SMTP code in PHP is not good enough. It needs to be rewritten. snip Yasuo Ohgaki It doesn't do much good to test on a nix box because what I'm looking for is a solution to a PHP/SMTP problem. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:57 AM To: PHP General List Subject: Re: [PHP] defending PHP mail function On Wednesday 31 October 2001 08:40 am, you wrote: for now it's PHP that's in question AFAIK, this is the first I've ever heard of probelms with mail() not sending to perfectly valid email addresses. Scalability issues and other performance problems, sure, but that's a different animal. Given the number of people that use PHP (and use mail(), especially) I would certainly think this problem would have been reported before if it were a real bug. So, to be blunt, you probably have a problem with your code, your SMTP server, the way you've configured PHP, or something other than mail(). It's easy to blame it on mail() and/or PHP, but I think you're barking up the wrong tree. Find a forgiving customer who reported the problem, ask for their help in troubleshooting it and then send some test emails from a completely different server, preferably on a *nix platform. (not because *nix is better than windows, but because *nix PHP doesn't use smtp for mail delivery) --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
On Wednesday 31 October 2001 09:08 am, you wrote: It doesn't do much good to test on a nix box because what I'm looking for is a solution to a PHP/SMTP problem. Really? No good at all, huh? I would think that would answer the question right there if it was an SMTP problem or a problem that lies elsewhere. If you take SMTP out of the equation, and the problem still occurs, then you know that's not the issue. If the problem does go away, then you've isolated it to either PHP SMTP code (probably) or your SMTP server (not as likely, but still a possibilty) --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] defending PHP mail function
Really? No good at all, huh? I would think that would answer the question right there if it was an SMTP problem or a problem that lies elsewhere. If you take SMTP out of the equation, and the problem still occurs, then you know that's not the issue. If the problem does go away, then you've isolated it to either PHP SMTP code (probably) or your SMTP server (not as likely, but still a possibilty) He already stated that the same code worked with a previous version. He also made it clear that he was using Win32/SMTP. We all know it will probably work on a Unix box with sendmail or similar because so many of us use it on a daily basis with no such problem - that won't help his situation. I think probing the guy a bit on the premise that he might be mistakenly loking at Php as the problem is fair enough, but beginning an inquisition certainly isn't warranted ;) jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] defending PHP mail function
I've just been watching the posts regarding this issue. I can see the following: You SHOULD test it on *nix JUST to narrow down the problem. You ask for help from all the *VERY NICE* people on this list, and then WILL not do what they say will help??? If you do not like the php smtp implementation, then read RFC821 and implement a better one. Regards, -Jason Garber IonZoft.com At 12:08 PM 10/31/2001 -0500, Matthew Luchak wrote: OK. here's why I think it's in PHP's SMTP support: There is an address that fails in 4.06 yet functions in 4.04 - exactly the same code, same SMTP server, same .ini, everything the same. I wouldn't question the class if I hadn't tested my own code and settings first. I've been trying to track this down for the past two weeks and have already been advised by someone on this list that PHP's SMTP support is not the greatest: SMTP code in PHP is not good enough. It needs to be rewritten. snip Yasuo Ohgaki It doesn't do much good to test on a nix box because what I'm looking for is a solution to a PHP/SMTP problem. Matthew Luchak Webmaster Kaydara Inc. [EMAIL PROTECTED] -Original Message- From: Kurt Lieber [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 31, 2001 11:57 AM To: PHP General List Subject: Re: [PHP] defending PHP mail function On Wednesday 31 October 2001 08:40 am, you wrote: for now it's PHP that's in question AFAIK, this is the first I've ever heard of probelms with mail() not sending to perfectly valid email addresses. Scalability issues and other performance problems, sure, but that's a different animal. Given the number of people that use PHP (and use mail(), especially) I would certainly think this problem would have been reported before if it were a real bug. So, to be blunt, you probably have a problem with your code, your SMTP server, the way you've configured PHP, or something other than mail(). It's easy to blame it on mail() and/or PHP, but I think you're barking up the wrong tree. Find a forgiving customer who reported the problem, ask for their help in troubleshooting it and then send some test emails from a completely different server, preferably on a *nix platform. (not because *nix is better than windows, but because *nix PHP doesn't use smtp for mail delivery) --kurt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]