Fetch icon indicating copy to clipboard operation
Fetch copied to clipboard

Undefined property: stdClass::$host

Open svivian opened this issue 9 years ago • 1 comments
trafficstars

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.

svivian avatar Oct 11 '16 15:10 svivian

Still running into this issue today. Is this PR gonna be merged any time soon?

ZeroThe2nd avatar Mar 02 '21 11:03 ZeroThe2nd