How to send mail via SMTP and get it by using Qt?

后端 未结 3 1786
鱼传尺愫
鱼传尺愫 2021-01-02 10:06

As I unserstand I should use QTcpSocket class in order to send a mail, and QTcpServer class in order to listen the connection and get the mail. But as I am a begginer in thi

3条回答
  •  爱一瞬间的悲伤
    2021-01-02 10:51

    if you are serious of making yet another smtp implementation starting from Qt, I would suggest at least reading the smtp-rfc. To be productive, I would look for an smtp library like this (randomly chosen, I haven't used it yet).

    A simple example from a q&a site can only help you upto your next problem.

提交回复
热议问题