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

时间:2016-05-16 10:18:31
【文件属性】:
文件名称:C++ QT SMTP 发送邮件(最新,成功的)
文件大小:129KB
文件格式:RAR
更新时间:2016-05-16 10:18:31
C++ QT SMTP 发送邮件 转载别人做好的东西,非常的好 之前在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 */
【文件预览】:
SmtpClient
----demos()
--------demo2()
--------demo1.cpp(1KB)
--------demo3.cpp(2KB)
--------demo4.cpp(2KB)
----Examples.md(5KB)
----src()
--------quotedprintable.cpp(2KB)
--------mimeattachment.cpp(1KB)
--------mimehtml.h(1KB)
--------mimecontentformatter.h(1KB)
--------sendemail.h(1KB)
--------demo2.cpp(841B)
--------mimefile.h(1KB)
--------mimemultipart.cpp(2KB)
--------mimetext.cpp(1KB)
--------mimetext.h(1KB)
--------emailaddress.h(1KB)
--------mimeattachment.h(1KB)
--------quotedprintable.h(1009B)
--------smtpclient.h(4KB)
--------mimefile.cpp(1KB)
--------main.cpp(3KB)
--------smtpclient.cpp(11KB)
--------mimecontentformatter.cpp(2KB)
--------mimeinlinefile.h(1KB)
--------mimepart.h(2KB)
--------mimemessage.cpp(6KB)
--------mimemultipart.h(2KB)
--------emailaddress.cpp(1KB)
--------mimemessage.h(2KB)
--------SmtpMime(928B)
--------sendemail.cpp(6KB)
--------sendemail.ui(9KB)
--------mimepart.cpp(4KB)
--------mimehtml.cpp(1KB)
--------mimeinlinefile.cpp(1KB)
----Home.md(1KB)
----SMTPEmail.pro(1KB)
----LICENSE(26KB)
----README.md(3KB)

网友评论

  • 还可以用。对吧
  • 跟PMTA差别大
  • 不加密的方式可以用,加密方式没事成功
  • 还可以吧,能用吧
  • 还好。有点缺陷,TLS连接模式没有交代清楚
  • 挺不错的值得学习
  • 错不错 可以发送邮件
  • qt要是有一个自己的类就好了,楼主的代码正是我想要的linux版本,可以用,谢谢
  • 代码不错,很好,不过我需要的是windows下的
  • 谢谢楼主,这是一个linux版的,在windows版Qt中用不了。