Witam,

Próbuje pobrać maile za pomocą (do połączenia używam protokołu IMAP):

  1. <?php
  2. $mbox = imap_open(....);
  3. $emails = imap_search($mbox, "NEW");
  4. foreach($mails as $email)
  5. {
  6. $uid = imap_uid($mbox, $email, FT_UID);
  7. $struct = imap_fetchstructure($mbox, $uid, FT_UID);
  8.  
  9. [...]
  10. }
  11. ?>


Jednak natrafiam na maila dla, którego mam błąd:
imap_fetchstructure(): No body information available


Co jest nie tak? Serwer IMAP? Klient IMAP? Kod?