Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events how to #5

Open
heptagonbs opened this issue Feb 5, 2022 · 1 comment
Open

Events how to #5

heptagonbs opened this issue Feb 5, 2022 · 1 comment

Comments

@heptagonbs
Copy link

This is pretty cool! I had no idea there was an imap server in php.
I'm wondering how I can use the Events parts you showed in example.php.

Specifically, I'm starting the example.php server alongside a CMS because I want it to check user credentials in the CMS when an IMAP request comes in. Am I thinking right or am I missing something?
I'd appreciate any example about the events. Thank you!

@TheFox
Copy link
Owner

TheFox commented Feb 6, 2022

I had no idea there was an imap server in php

You can write an IMAP server in any language. ;)

check user credentials in the CMS

Keep in mind the AUTHENTICATE Command of this IMAP Server project is currently not implemented. As you can see there are only 3 events in the Event class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants