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

KeepUnseen doen't work #92

Closed
bestxp opened this issue Sep 14, 2015 · 3 comments
Closed

KeepUnseen doen't work #92

bestxp opened this issue Sep 14, 2015 · 3 comments
Labels
Milestone

Comments

@bestxp
Copy link

bestxp commented Sep 14, 2015

Hi

$server = new Server($config['mail']['server'], 993, '/imap/ssl/novalidate-cert');
$connection = $server->authenticate($config['mail']['username'], $config['mail']['password']);

$mailboxes = $connection->getMailboxes();
$mailbox = $connection->getMailbox('INBOX');
if(isset($_GET['id'])){
    $message = $mailbox->getMessage($_GET['id']);
    $message->keepUnseen();
    $message->getSubject(); //etc
}

Really this message has flag seen
how i can add flag unseen and star to this message ?

@dannykopping
Copy link

Bump

@aeyoll
Copy link
Contributor

aeyoll commented Oct 5, 2015

I'm having the same issue, doing a $message->keepUnseen()->getBodyText() is removing the unseen flag.

@Slamdunk
Copy link
Collaborator

Solved by #95

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

4 participants