dbzhang800 / qtmail Goto Github PK
View Code? Open in Web Editor NEWsmtp and pop3 extracted from libqxt library
License: Other
smtp and pop3 extracted from libqxt library
License: Other
Hello, I tried QxtSmt library and had problems when sending with my ISP mail server. That's how I found this new library QtMail, but found the exact same problems. I already posted the error in Qxt library, but letting you know as well.
https://bitbucket.org/libqxt/libqxt/issue/59/error-in-qxtsmtp-when-220-reply-code-is
When connecting to an SMTP server, the initial 220 reply code, can contain multiple lines. The QxtSmtp Library doesn't handle this. Reference: http://tools.ietf.org/html/rfc821 APPENDIX E "...multiline replies are allowed for any command..." "The format for multiline replies requires that every line, except the last, begin with the reply code, followed immediately by a hyphen, "-" (also known as minus), followed by text. The last line will begin with the reply code, followed immediately by , optionally some text, and ."
After trying the library I could send mails through gmail, but not my ISP mail server(which i don't control). After some debugging realized the multiple 220 initial reply: 220-myIsp.org ESMTP Exim 4.82 #2 Tue, 17 Dec 2013 19:44:24 -0500 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail.
The problem is that QxtSmtp doesn't accept this, and even worse, it doesn't generate any "failed connection" signal, so the process just stays frozen, because, QxtSmtpPrivate::parseEhlo calls socket->disconnectFromHost();, but never emits any signal.
您好我知道你是**人所以就用中文回复啦
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.