- 
                Notifications
    
You must be signed in to change notification settings  - Fork 460
 
Open
Labels
needs investigationThis will be tested / debugged or checked out.This will be tested / debugged or checked out.
Description
Environment (please complete the following information):
- PHP IMAP version: 8.1
 - PHP Version: 8.1
 - Type of execution: Daemon
 
For some emails (seems like when they are send from Mac), the body is empty, for html and also for plain.
The used code:
$this->mail->textHtml ?? $this->mail->textPlain;var_dump($this->mail):
object(PhpImap\IncomingMail)#7 (45) {
  ["id"]=>
  int(133)
  ["imapPath"]=>...
  }
  ["textPlain":"PhpImap\IncomingMail":private]=>
  NULL
  ["textHtml":"PhpImap\IncomingMail":private]=>
  NULL
}
Expected behavior
Email body has text in it, because in email client for the same email there is a body
Metadata
Metadata
Assignees
Labels
needs investigationThis will be tested / debugged or checked out.This will be tested / debugged or checked out.