The answer is here (check also the page it links to):
http://stackoverflow.com/a/4273547/786387
It means that there are no attachments, so you need to get part 1 of the body with imap_fetchbody($connection,$emailnumber,1);
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.