阅读来自 IMAP + Laravel 5.1 的电子邮件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34239548/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 12:48:29  来源:igfitidea点击:

Read emails from IMAP + Laravel 5.1

phpemaillaravelimaplaravel-5.1

提问by nielsv

I'm looking for a solution to do the following:

我正在寻找执行以下操作的解决方案:

I want to read emails from an IMAP mailbox, show them in a tableand give each of them a ticket number. They are also collected in categories(this is done by keywords in the subject of the mail). They also get a status( in treatment, open, finished).

我想阅读来自IMAP 邮箱的电子邮件,将它们显示在表格中,并为每个人提供一个票号。它们也按类别收集(这是通过邮件主题中的关键字完成的)。他们还会获得一个状态(治疗中、开放中、完成)。

I was wondering if any of you had experience with reading emails from IMAP in Laravel 5.1. What's the best solution for this? I've found the barbushin/php-imaplibrary and the ddeboer/imaplibrary. But which one is better or with wich ones did you have a good experience?

我想知道你们是否有在 Laravel 5.1 中阅读来自 IMAP 的电子邮件的经验。什么是最好的解决方案?我找到了barbushin/php-imap库和ddeboer/imap库。但是哪个更好,或者哪个更好?

Or another option? I just want to make it best practice and easy to write.

还是另一种选择?我只是想让它成为最佳实践并且易于编写。

回答by SeiyaJapon

I find a laravel package for imap connection.

我找到了一个用于 imap 连接的 laravel 包。

May be is useful for you: http://packalyst.com/packages/package/zalazdi/laravel-imap

可能对你有用:http: //packalyst.com/packages/package/zalazdi/laravel-imap