PHP Mail client library

倖福魔咒の 提交于 2019-12-23 10:25:14

问题


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?


回答1:


I have missed the obvious Zend_Mail will do the trick




回答2:


Here is a PHP Pop3 Client that I use for a script on my server.

http://www.phpclasses.org/package/2-PHP-Access-to-e-mail-mailboxes-using-the-POP3-protocol.html

You could easily use that to create a graphical layout, but I have not had the necessity for it.



来源:https://stackoverflow.com/questions/5874689/php-mail-client-library

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!