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

How can I set flag in appendMessage() options? #184

Closed
AnastasiaDolgopolova opened this issue Dec 2, 2021 · 2 comments
Closed

How can I set flag in appendMessage() options? #184

AnastasiaDolgopolova opened this issue Dec 2, 2021 · 2 comments
Labels

Comments

@AnastasiaDolgopolova
Copy link

how can I set flag in appendMessage() options?
$folder-> appendMessage($message,$options, $date);

@Webklex
Copy link
Owner

Webklex commented Dec 2, 2021

Hi @AnastasiaDolgopolova ,
that's a good question. I'm afraid its not possible - at least not until you have a UID or MsgNumber. You'll need either of those in order to attach or detach any flags.

Best regards,

@AnastasiaDolgopolova
Copy link
Author

AnastasiaDolgopolova commented Dec 2, 2021

I just realized it! - an array is needed
$folder-> appendMessage($message,['Draft'], $date);

image_2021-12-02_16-03-14_LI

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