PHP邮件客户端库 [英] PHP Mail client library

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

问题描述

我知道有很多PHP邮件库,但大多数都是为了发送电子邮件而设计的,是否有任何图书馆可以帮助我从中获取电子邮件imap / pop3帐户,处理附件等?



我已经使用PHP IMAP扩展程序中的 imap _ * 函数但是使用它是有问题的,因为在大多数情况下(即解析 imap_fetchstructure 的结果以获取附件),我必须重新发明轮。



Mayby有任何可以使用lib构建在 imap _ * 或类似之上,这将有助于我处理获取邮件,而无需重新 - 将所有这些逻辑写在知名的问题背后?

解决方案

我错过了明显的 Zend_Mail 将会诀窍


I know there is plenty of PHP mail libraries out there, but most of them are designed to send emails, is there any library that will help me fetch emails from imap/pop3 accounts, deal with attachments etc?

I'm already using imap_* functions from PHP IMAP extension but using it is problematic, as I have to re-invent the wheel in most cases (ie. parsing the result of imap_fetchstructure to get to attachments)

Mayby there is any ready to use lib build on top of imap_* or similar, that will help me deal with fetching mails, without re-writing all that logic behind well known problems?

解决方案

I have missed the obvious Zend_Mail will do the trick

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

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