问题描述
我知道有很多PHP邮件库,但大多数都是为了发送电子邮件而设计的,是否有任何图书馆可以帮助我从中获取电子邮件imap / pop3帐户,处理附件等?我已经使用PHP IMAP扩展程序中的 imap _ *
函数但是使用它是有问题的,因为在大多数情况下(即解析 imap_fetchstructure
的结果以获取附件),我必须重新发明轮。
Mayby有任何可以使用lib构建在 imap _ *
或类似之上,这将有助于我处理获取邮件,而无需重新 - 将所有这些逻辑写在知名的问题背后?
我错过了明显的将会诀窍
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邮件客户端库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!