C++ QT SMTP 发送邮件(最新,成功的)

上传者: okpfsje123 | 上传时间: 2019-12-21 20:24:36 | 文件大小: 129KB | 文件类型: rar
转载别人做好的东西,非常的好 之前在CSDN中,也尝试了很多发送邮件的代码,总是遇到各种各样的问题, 现在找到了这个好东东,和大家分享一下,只要简单配置下,就可以发送邮件了 配置内容 1. 指定 SMTP的服务器 2. 指定发件人的用户名(一般都是邮箱),密码 3. 指定发件人(同2中的发件人),收件人(可多个),主题,正文,附件,点击发送按钮,即可发送 4. 内附了很多Demo代码,供大家参考,非常的容易 C++ 开发 //参考资料: //https://github.com/bluetiger9/SmtpClient-for-Qt //https://github.com/bluetiger9/SmtpClient-for-Qt/wiki //http://www.qtcentre.org/threads/44483-SMTP-Client-for-Qt /* git 命令: git clone https://github.com/bluetiger9/SmtpClient-for-Qt.git git clone https://github.com/bluetiger9/SmtpClient-for-Qt.wiki.git git clone git://github.com/schacon/grit.git git clone https://github.com/bluetiger9/SmtpClient-for-Qt.wiki.git git clone git://github.com/bluetiger9/SmtpClient-for-Qt.wiki.git */

文件下载

资源详情

[{"title":"( 43 个子文件 129KB ) C++ QT SMTP 发送邮件(最新,成功的)","children":[{"title":"SmtpClient","children":[{"title":"demos","children":[{"title":"demo2","children":[{"title":"printscreen.png <span style='color:#111;'> 83.75KB </span>","children":null,"spread":false},{"title":"sendemail.h <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"demo2.cpp <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"sendemail.cpp <span style='color:#111;'> 3.13KB </span>","children":null,"spread":false},{"title":"sendemail.ui <span style='color:#111;'> 8.46KB </span>","children":null,"spread":false}],"spread":true},{"title":"demo1.cpp <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"demo3.cpp <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"demo4.cpp <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"Examples.md <span style='color:#111;'> 4.79KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"quotedprintable.cpp <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"mimeattachment.cpp <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"mimehtml.h <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"mimecontentformatter.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"sendemail.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"demo2.cpp <span style='color:#111;'> 841B </span>","children":null,"spread":false},{"title":"mimefile.h <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"mimemultipart.cpp <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"mimetext.cpp <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false},{"title":"mimetext.h <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"emailaddress.h <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"mimeattachment.h <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"quotedprintable.h <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"smtpclient.h <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"mimefile.cpp <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 2.79KB </span>","children":null,"spread":false},{"title":"smtpclient.cpp <span style='color:#111;'> 10.90KB </span>","children":null,"spread":false},{"title":"mimecontentformatter.cpp <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"mimeinlinefile.h <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"mimepart.h <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"mimemessage.cpp <span style='color:#111;'> 6.21KB </span>","children":null,"spread":false},{"title":"mimemultipart.h <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false},{"title":"emailaddress.cpp <span style='color:#111;'> 1.28KB </span>","children":null,"spread":false},{"title":"mimemessage.h <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"SmtpMime <span style='color:#111;'> 928B </span>","children":null,"spread":false},{"title":"sendemail.cpp <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"sendemail.ui <span style='color:#111;'> 8.79KB </span>","children":null,"spread":false},{"title":"mimepart.cpp <span style='color:#111;'> 4.26KB </span>","children":null,"spread":false},{"title":"mimehtml.cpp <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"mimeinlinefile.cpp <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false}],"spread":false},{"title":"Home.md <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"SMTPEmail.pro <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 26.39KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • xinqinew :
    还可以用。对吧
    2021-05-06
  • wildss :
    跟PMTA差别大
    2018-08-08
  • BeyondMiracle :
    不加密的方式可以用,加密方式没事成功
    2018-07-22
  • elvis1228 :
    还可以吧,能用吧
    2018-02-28
  • 诺儿爸爸 :
    还好。有点缺陷,TLS连接模式没有交代清楚
    2017-11-14

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明