PHP SwiftMailer或PEAR邮件 [英] PHP SwiftMailer or PEAR Mail

查看:245
本文介绍了PHP SwiftMailer或PEAR邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人对这两个有一些评论吗?

Does someone have some comments about those two? in terms of experience, performance, easiness, problems, spam related, etc.

假设您需要每1个小时发送一封电子邮件(10到20封)(定时工作)。

Say you need to send emails (10-20) every 1 hour (cron job).

推荐答案

我会选择SwiftMailer。我曾经用过,Swiftmailer拥有最好的API和支持。另外,Symfony的Fabien Potencier也采用了SwiftMailer维护,这意味着随着时间的流逝它会不断改进。 Pear Mail也正在开发中,但并未真正投入使用。

I'd go with SwiftMailer. I've used both and Swiftmailer has imho the best API and support. Also SwiftMailer maintenance has been adopted by Fabien Potencier of Symfony fame which only means that it'll improve over time. Pear Mail is also under developement but not really active.

在功能方面,两者是可比的,因此都归因于API偏好。

In terms of functionality both are comparable though so it all comes down to API preference.

这篇关于PHP SwiftMailer或PEAR邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆