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

Any way to get the current name of the folder related to a specific msg ? #89

Closed
nguaman opened this issue Apr 15, 2018 · 1 comment
Closed

Comments

@nguaman
Copy link

nguaman commented Apr 15, 2018

Hi,
I am working with Gmail and I need to know the name of the folder related to a specific msg.

Any clue ?

Thanks.
Nelson.

@stephanecoinon
Copy link
Contributor

@Wu4m4n I could not find in the IMAP library a way to grab the folder containing a message directly so I submitted PR #92 that recursively finds it

Usage:

$folder = $message->getContainingFolder();

Webklex pushed a commit that referenced this issue Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants