如何发送直接连接到SMTP服务器的电子邮件? [英] How to send emails connecting to the SMTP server directly?
本文介绍了如何发送直接连接到SMTP服务器的电子邮件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我不想使用mail()
发送电子邮件.我想直接连接到SMTP服务器.
I do not want to use mail()
to send e-mail. I would like to connect to the SMTP server directly.
有没有上课的人做这项工作?
Is there a class to do this job?
推荐答案
SwiftMailer可以做到这一点.
SwiftMailer does this.
这篇关于如何发送直接连接到SMTP服务器的电子邮件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文