uvdesk / mailbox-component

The Mailbox component provides tools that allows your helpdesk to process tickets from multiple email sources.
MIT License
23 stars 40 forks source link

Use IMAP IDLE to immediately get new tickets #71

Closed wmertens closed 3 years ago

wmertens commented 3 years ago

Instead of having to run the import all the time, it would be better to use the IMAP protocol to get notified when new emails arrive.

This has many advantages, such as low resource use and instant ticket creation.

papnoisanjeev commented 3 years ago

@wmertens

Thanks for your suggestion !! Please let us know how we can achieve this or you can create a pull request for the same.

wmertens commented 3 years ago

Unfortunately my PHP is way too weak to implement this, but the php_imap library should hopefully have some way to stay connected and get a callback on new email?

wmertens commented 3 years ago

I discovered that php_imap doesn't support IMAP IDLE, but https://github.com/Webklex/php-imap does.

komal-sh-27 commented 3 years ago

@wmertens

Sorry to say but IMAP IDLE supported by some IMAP servers.

As every one knows this project is opensource & we can't restrict anything here.

Screenshot