Skip to content

found a bug that causes body to be empty #275

@Yasser-Chen

Description

@Yasser-Chen

Describe the bug
$message->getHTMLBody();
returns null

Used config
default config 100%

Code to Reproduce

$messages = $folder->messages()->all()
      ->unseen() // THIS CAUSES THE ERROR //IF THIS IS REMOVED PROBLEM SOLVED
      ->limit(1,1)// I have only one email anyways
      ->get();
foreach($messages as $message){
     $message->hasHTMLBody();//returns null
}

Expected behavior
must return an html content as the name says
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop / Server (please complete the following information):

  • OS: Windows 10
  • PHP: 8.1
  • Version "webklex/laravel-imap": "^4.0" & webklex/php-imap": "^4.0"
  • Provider Gmail

Additional context
please fix this bug and stay the best thing in the internet !! and thanks for reading all this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions