Skip to content

Undefined property: stdClass::$host #181

@svivian

Description

@svivian

This was reported before in #95 and supposedly fixed in #96 but the fix does not work - it actually does not check for the existence of the host property.

When I get an email with "undisclosed recipients" (i.e. it was sent to my mailbox with BCC), I get the error exception 'ErrorException' with message 'Undefined property: stdClass::$host' in /.../vendor/tedivm/fetch/src/Fetch/Message.php:675

The value of $address at that point is (from var_dump):

object(stdClass)#1396 (1) {
  ["mailbox"]=>
  string(22) "Undisclosed recipients"
}

So the check for mailbox passes but not host.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions