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

Custom Flag #43

Closed
lsbescorpion opened this issue Nov 3, 2020 · 1 comment
Closed

Custom Flag #43

lsbescorpion opened this issue Nov 3, 2020 · 1 comment
Labels

Comments

@lsbescorpion
Copy link

How do I assign a custom flag to a message?

@Webklex
Copy link
Owner

Webklex commented Nov 4, 2020

Hi @lsbescorpion ,
you can set a custom flag by calling Message::setFlag($flag="MY_FLAG").

/** @var \Webklex\PHPIMAP\Message $message */
$bool = $message->setFlag("MY_FLAG");

However your mail provider may not support custom flags.

Best regards,

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

No branches or pull requests

2 participants