Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
On Tue, January 15, 2008 11:03 pm, Manuel Lemos wrote: Hello, on 01/16/2008 02:11 AM mike said the following: Why not look at phpmailer? Probably more robust than some random classes. I did not suggest any random classes. I developed those classes since 1999 and I know they work reliably because they are used by me and tens of thousands of users that have downloaded the classes from the site. If you have not used these classes, I do not understand why you need to make assertions about their robustness, unless your only purpose was to put down my work. Does it bother you by the fact that I suggest that people use my classes to solve their problems? E. *I* read the first paragraph to refer to the OP's reinvent-the-wheel classes, *NOT* yours. Lighten up. :-) -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Hello, on 01/16/2008 01:38 AM Wang Chen said the following: I wrote a class to send mail by remote mail server. But it was failed. So I captured the network packets by tcpdump, and found that there is a strange packet NOOP was sent. But in the source code I mean to send command DATA. I don't know why a NOOP packet was sent instead. Here is my php source code and the attachment is tcpdump file. Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Manuel Lemos said the following on 2008-1-16 11:55: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Why not look at phpmailer? Probably more robust than some random classes. http://phpmailer.codeworxtech.com/ Not to bash on Manuel, but I find phpclasses to be littered with lots of crappy code and is too ad-laden and hard to use for me to bother. On 1/15/08, Wang Chen [EMAIL PROTECTED] wrote: Manuel Lemos said the following on 2008-1-16 11:55: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Hello, on 01/16/2008 02:00 AM Wang Chen said the following: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( I don't know why you are using tcpdump, but maybe you are only capturing a network interface that is not the one that your code used to connect to the SMTP server. It seems to me that is something is altering the data you are sending for some reason. I suggest that you ask your system administrator. You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Hello, on 01/16/2008 02:11 AM mike said the following: Why not look at phpmailer? Probably more robust than some random classes. I did not suggest any random classes. I developed those classes since 1999 and I know they work reliably because they are used by me and tens of thousands of users that have downloaded the classes from the site. If you have not used these classes, I do not understand why you need to make assertions about their robustness, unless your only purpose was to put down my work. Does it bother you by the fact that I suggest that people use my classes to solve their problems? Not to bash on Manuel, but I find phpclasses to be littered with lots of crappy code and is too ad-laden and hard to use for me to bother. I think your opinion about the site is totally off-topic and does not add anything to this thread. Nobody likes advertising, starting with me, but now that you brought out that subject, for your information, if it was not for the advertising that you used as argument to bash me, the site would already been closed a long time ago. The PHPClasses site has over 550,000 subscribers. About 2000 of them are authors that contributed with more than 4000 freely distributable components. I am just one author. It is a democratic site. You do not have to beg to distribute your classes there. Everybody can contribute. The result is that some classes are very simple, but many others are very sophisticated and provide functionality that you will not find in any PHP classes in any other site. That happens because the site makes an non-trivial effort to promote the work of the authors that contribute to it. If you think just of the winners of the PHP Programming Innovation Award created by the PHPClasses site, you will find there plenty of brilliant classes that stand out from the crowd. http://www.phpclasses.org/winners/ If you do not want to bother and benefit from the work distributed by the site, that is your problem. But please do us a favour, respect the work that the authors submit to the site and do not call it crappy. On 1/15/08, Wang Chen [EMAIL PROTECTED] wrote: Manuel Lemos said the following on 2008-1-16 11:55: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
This list is democratic as well. Personal experience has led me there from many Google queries, and none of the code has been usable. I give you props for creating a site and classes on it and such, but this list is for people to ask and share opinions. I said it was not to badmouth you but my personal experience that happens to relate to things on your site has been poor. I'd say the same if it was your site or not. You're just taking offense since you own it. On 1/15/08, Manuel Lemos [EMAIL PROTECTED] wrote: I think your opinion about the site is totally off-topic and does not add anything to this thread. One comment, and it was related. If you do not want to bother and benefit from the work distributed by the site, that is your problem. But please do us a favour, respect the work that the authors submit to the site and do not call it crappy. I give props when I find things that are reusable, I have a section of my blog dedicated to giving respect to people I feel have made our lives easier from the web development front. Please, take a step back, and take the comment about your website objectively. You're not going to please everyone, it's fruitless to try. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
-Original Message- From: mike [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 1:11 AM To: Wang Chen Cc: php-general@lists.php.net Subject: Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA Why not look at phpmailer? Probably more robust than some random classes. http://phpmailer.codeworxtech.com/ Not to bash on Manuel, but I find phpclasses to be littered with lots of crappy code and is too ad-laden and hard to use for me to bother. On 1/15/08, Wang Chen [EMAIL PROTECTED] wrote: Manuel Lemos said the following on 2008-1-16 11:55: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. Well, guess where did PHPMailer come from? This is the original author of PHPMailer (and the original package was posted there) http://www.phpclasses.org/browse/package/264.html Though, yes, the project is outdated at phpclasses.org; but that's what the download newest versions and documentation link is for. Aesthetically, I don't like the phpclasses.org website. I agree that there's too much garbage to be filtered out (well... that's what opensource and freedom is all about, just pick the one you want, I think). But who didn't get his hands dirty on some of these classes for a quick start, or even used some of them AS-IS once in his entire life? So, I'm sorry, despite the ads when you login (which I just close - and they don't try to open up again as in other websites) I like the idea and the website from the functional perspective. And I use it, and will keep using it. I find it even better than PEAR's classes, which are a pain to install and a pain to use on a shared hosting environment (specially, when your client's hosting provider has decided he hates PEAR). Most of the time you just have to adapt, refactor and recode some bits to get a class working as you want... and you don't have to think of all the specific details of dealing with mail, ftp, rss, etc. Yes, blindly using the black box is wrong, but not meeting a delivery date because you still don't get RFC 45698725-1a23 is worst. Anyway, I'm not Manuel's lawyer, but saying phpclasses.org is crap, is like saying this list is crap (and you can find more reasons to argue on the second one). There's people sharing their expertise for free, I appreciate that. It just needs to get cleaned up a bit... but last time I checked, the rating system was working, so maybe we can use it (just FYI, I'm very guilty of not using it, ever) Regards, Rob P.S.: I don't have any implied or not implied relationship with Manuel (except my brother in law, which is Juan Manuel, and it is not Lemos, and lives in Argentina ten blocks ahead of my house) P.S.2: I recommend and use PHPMailer as well, but just because it works fine so far and I don't need anything else. Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 | TEL 954-607-4207 | FAX 954-337-2695 Email: [EMAIL PROTECTED] | MSN Chat: [EMAIL PROTECTED] | SKYPE: bestplace | Web: http://www.bestplace.biz | Web: http://www.seo-diy.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Hello, on 01/16/2008 02:11 AM mike said the following: Why not look at phpmailer? Probably more robust than some random classes. I did not suggest any random classes. I developed those classes since 1999 and I know they work reliably because they are used by me and tens of thousands of users that have downloaded the classes from the site. If you have not used these classes, I do not understand why you need to make assertions about their robustness, unless your only purpose was to put down my work. Does it bother you by the fact that I suggest that people use my classes to solve their problems? Not to bash on Manuel, but I find phpclasses to be littered with lots of crappy code and is too ad-laden and hard to use for me to bother. I think your opinion about the site is totally off-topic and does not add anything to this thread. Nobody likes advertising, starting with me, but now that you brought out that subject, for your information, if it was not for the advertising that you used as argument to bash me, the site would already been closed a long time ago. The PHPClasses site has over 550,000 subscribers. About 2000 of them are authors that contributed with more than 4000 freely distributable components. I am just one author. It is a democratic site. You do not have to beg to distribute your classes there. Everybody can contribute. The result is that some classes are very simple, but many others are very sophisticated and provide functionality that you will not find in any PHP classes in any other site. That happens because the site makes an non-trivial effort to promote the work of the authors that contribute to it. If you think just of the winners of the PHP Programming Innovation Award created by the PHPClasses site, you will find there plenty of brilliant classes that stand out from the crowd. http://www.phpclasses.org/winners/ If you do not want to bother and benefit from the work distributed by the site, that is your problem. But please do us a favour, respect the work that the authors submit to the site and do not call it crappy. On 1/15/08, Wang Chen [EMAIL PROTECTED] wrote: Manuel Lemos said the following on 2008-1-16 11:55: Maybe you are accessing a SMTP server with a grey listing or anti-spam/anti-virus frontend that sits on the front of the actual SMTP server and only passes information to the backend server when it is ready. It is possible that your message is malformed and the frontend server is expecting something that you are not sending correctly. Meanwhile the frontend server sends NOOP commands to the backend server to keep the connection opened. But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( You may want to try this SMTP class that is known to work correctly according to the mail standards. See if you can send the message properly. If so, the theory above is likely to be the case. http://www.phpclasses.org/smtpclass If you need authentication, you also need this: http://www.phpclasses.org/sasl Thanks Manuel, I will try this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Manuel Lemos said the following on 2008-1-16 13:14: But it's strange that php should send a DATA command out, but tcpdump didn't capture this packet. :( I don't know why you are using tcpdump, but maybe you are only capturing a network interface that is not the one that your code used to connect to the SMTP server. It seems to me that is something is altering the data you are sending for some reason. I suggest that you ask your system administrator. For debugging my code, I use tcpdump to capture packets and compare the difference between outlook's packets and php's packets. By the way, i only have one NIC. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
Hello, on 01/16/2008 03:25 AM mike said the following: This list is democratic as well. Personal experience has led me there from many Google queries, and none of the code has been usable. That does not give you the right to generalize and call all the code in the site crappy, including the thousands of packages that you have not tried. I give you props for creating a site and classes on it and such, but this list is for people to ask and share opinions. I said it was not to badmouth you but my personal experience that happens to relate to things on your site has been poor. I'd say the same if it was your site or not. You're just taking offense since you own it. You are mixing the issues. I have nothing against people that expresses an opinion about any site of mine. The offense came from the fact that you called crappy to all the code published in the site. Why did you have to mix the quality of the work submitted to the PHPClasses site with the fact that it shows advertising to survive? I have no idea. Actually, I have no clue why did you feel the need to start campaigning against the site. If wanted to draw attention to the site on a thread that had nothing to do with it, thank you, you made it. If you do not want to bother and benefit from the work distributed by the site, that is your problem. But please do us a favour, respect the work that the authors submit to the site and do not call it crappy. I give props when I find things that are reusable, I have a section of my blog dedicated to giving respect to people I feel have made our lives easier from the web development front. Please, take a step back, and take the comment about your website objectively. You're not going to please everyone, it's fruitless to try. You are missing my point. One thing is disliking somebody's work for whatever reasons, another this is acting disrespectfully and call it crappy in a public forum. If you don't know how to act respectfully with other PHP developers, I have nothing else to say to you. -- Regards, Manuel Lemos PHP professionals looking for PHP jobs http://www.phpclasses.org/professionals/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
On 1/15/08, Manuel Lemos [EMAIL PROTECTED] wrote: You are missing my point. One thing is disliking somebody's work for whatever reasons, another this is acting disrespectfully and call it crappy in a public forum. If you don't know how to act respectfully with other PHP developers, I have nothing else to say to you. Plenty of people share their opinions here. Again, my email said this: Not to bash on Manuel, but I find phpclasses to be littered with lots of crappy code and is too ad-laden and hard to use for me to bother 1) NOT A PERSONAL ATTACK, 2) I FIND = my personal opinion, 3) it says it has lots of crappy code but in no way does that warrant the entire site. 4) opinion on the site's UI is again, personal. If I really wanted to bash the site, I could do it a hell of a lot worse. I am sad that you have to put at least 6 ad spots which almost completely distract from the content to keep it alive. Like I said, I give you props for offering a site like that, it has just not been personally helpful for me the numerous times I've stumbled across it. I just can't believe it needs that many ads, requires registration for almost everything ... forced ads before downloads, not to mention popups too? This is way off topic now though... re: phpclasses hosting phpmailer originally... that's great, i'm sure there's lots of code out there that's been on phpclasses but was never updated. The site doesn't do a lot of good though if it doesn't have links to the project pages (for updated versions) or is offering years old code on an outdated project. Like I've said, and both of you have reinforced that - this is a list with opinions, expertise, code samples, etc. If I produced something that you think is crap, you can call it crap. It's very simple. I could ask WHY it is crap, but otherwise I have to look at it objectively and understand varied levels of personal preference. In no place on this did I say do not use phpclasses - I simply shared my past frustration and suggested an alternative. Perhaps if I didn't share an alternative and simply posted to say I hate that site there might be more basis for this discussion. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [QUESTION] MAIL: Send a NOOP instead of DATA
mike said the following on 2008-1-16 12:11: Why not look at phpmailer? Probably more robust than some random classes. http://phpmailer.codeworxtech.com/ Thanks Mike. I will try both and tell you guys I like which one. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php