Skip to content

imap IDLE support for real time notifications #185

@NikiSchlifke

Description

@NikiSchlifke

Is your feature request related to a problem? Please describe.
As it stands now using laravel-imap I am using the laravel scheduler to look for new messages every minute. This works fine, however it requires additional setup and introduces up to 60 seconds extra latency when not really needed.

Describe the solution you'd like
Modern mail daemons pretty much all support the IDLE command to let the client leave the TCP connection open and be notified in real time of any new messages.

Describe alternatives you've considered
I guess increasing the polling interval into seconds would reduce the latency too, not really practical though.

Additional context
https://en.wikipedia.org/wiki/IMAP_IDLE
https://www.limilabs.com/blog/imap-idle
https://tools.ietf.org/html/rfc2177

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions