{"action":"created","issue":{"url":"https://api.github.com/repos/Webklex/laravel-imap/issues/43","repository_url":"https://api.github.com/repos/Webklex/laravel-imap","labels_url":"https://api.github.com/repos/Webklex/laravel-imap/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/Webklex/laravel-imap/issues/43/comments","events_url":"https://api.github.com/repos/Webklex/laravel-imap/issues/43/events","html_url":"https://github.com/Webklex/laravel-imap/issues/43","id":274945911,"number":43,"title":"getMessageNo() is empty?","user":{"login":"AndyDunn","id":158077,"avatar_url":"https://avatars3.githubusercontent.com/u/158077?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyDunn","html_url":"https://github.com/AndyDunn","followers_url":"https://api.github.com/users/AndyDunn/followers","following_url":"https://api.github.com/users/AndyDunn/following{/other_user}","gists_url":"https://api.github.com/users/AndyDunn/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyDunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyDunn/subscriptions","organizations_url":"https://api.github.com/users/AndyDunn/orgs","repos_url":"https://api.github.com/users/AndyDunn/repos","events_url":"https://api.github.com/users/AndyDunn/events{/privacy}","received_events_url":"https://api.github.com/users/AndyDunn/received_events","type":"User","site_admin":false},"labels":[{"id":522084862,"url":"https://api.github.com/repos/Webklex/laravel-imap/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-11-17T17:53:44Z","updated_at":"2017-11-25T12:17:35Z","closed_at":null,"author_association":"NONE","body":"When looping through a series of messages in a folder, I can get the UUID, subject, etc. but when I access the 'getMessageNo()' it's empty.\r\n\r\nIs there any reason for this or a bug perhaps?"},"comment":{"url":"https://api.github.com/repos/Webklex/laravel-imap/issues/comments/346937145","html_url":"https://github.com/Webklex/laravel-imap/issues/43#issuecomment-346937145","issue_url":"https://api.github.com/repos/Webklex/laravel-imap/issues/43","id":346937145,"user":{"login":"AndyDunn","id":158077,"avatar_url":"https://avatars3.githubusercontent.com/u/158077?v=4","gravatar_id":"","url":"https://api.github.com/users/AndyDunn","html_url":"https://github.com/AndyDunn","followers_url":"https://api.github.com/users/AndyDunn/followers","following_url":"https://api.github.com/users/AndyDunn/following{/other_user}","gists_url":"https://api.github.com/users/AndyDunn/gists{/gist_id}","starred_url":"https://api.github.com/users/AndyDunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndyDunn/subscriptions","organizations_url":"https://api.github.com/users/AndyDunn/orgs","repos_url":"https://api.github.com/users/AndyDunn/repos","events_url":"https://api.github.com/users/AndyDunn/events{/privacy}","received_events_url":"https://api.github.com/users/AndyDunn/received_events","type":"User","site_admin":false},"created_at":"2017-11-25T12:17:35Z","updated_at":"2017-11-25T12:17:35Z","author_association":"NONE","body":"Hi @Webklex, this is the code I'm using:\r\n\r\n`<?\r\n            $client = new Client([\r\n                'host'          => env('IMAP_HOST'),\r\n                'port'          => 993,\r\n                'encryption'    => 'ssl',\r\n                'validate_cert' => true,\r\n                'username'      => env('IMAP_USERNAME'),\r\n                'password'      => env('IMAP_PASSWORD'),\r\n            ]);\r\n\r\n            $client->connect();\r\n            $aMailboxes = $client->getFolders();\r\n\r\n            foreach($aMailboxes as $oMailbox) {\r\n                if ($oMailbox->name == env('IMAP_FOLDER')) {\r\n                    foreach($oMailbox->getMessages() as $message) {\r\n                        Log::info(\"Number: \".$message->getMessageNo());\r\n                    }\r\n                }\r\n            }`\r\n\r\nIn the log files the number value is empty. Anything else you'd need me to check?"}}
{"actor":{"display_login":"AndyDunn"}}