Fetch
Fetch copied to clipboard
Undefined property: stdClass::$host
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.
Still running into this issue today. Is this PR gonna be merged any time soon?