Giter VIP home page Giter VIP logo

qtmail's People

Contributors

dbzhang800 avatar kd9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qtmail's Issues

Error in QxtSmtp when 220 reply code is multiline

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.