在 SwiftMailer 4.0.6 中设置身份验证方法
Swiftmailer 似乎默认使用crammd5 进行SMTP 身份验证,这很棒,但是我们有一个需要PLAIN 身份验证(通过SSL)的SMTP 服务器,而且我似乎无法在4.x 中找到设置要使用的身份验证方法的方法。显然这在 3.x 中是可能的,但我找不到在 4.x 中做到这一点的方法。我看到有一个普通的身份验证类,但我查看了代码,找不到设置它的方法。任何帮助将不胜感激。
干杯,
丹
Swiftmailer seems to default to crammd5 for SMTP authentication which is great but we have an SMTP server that requires PLAIN authentication (over SSL) and I can't seem to find a way in 4.x to set which authentication method to use. Apparently it was possible in 3.x but I can't find a way to do it in 4.x. I see there is a plain auth class but I've looked through the code and can't find a way to set it. Any help would be greatly appreciated.
Cheers,
Dan
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我的答案是:http://groups.google.com/group /swiftmailer/browse_thread/thread/422a409989c8acf1
The answer was provided to me at: http://groups.google.com/group/swiftmailer/browse_thread/thread/422a409989c8acf1