Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined property: stdClass::$host #181

Open
svivian opened this issue Oct 11, 2016 · 1 comment · May be fixed by #199
Open

Undefined property: stdClass::$host #181

svivian opened this issue Oct 11, 2016 · 1 comment · May be fixed by #199

Comments

@svivian
Copy link

svivian commented Oct 11, 2016

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.

klammbueddel pushed a commit to klammbueddel/Fetch that referenced this issue Aug 10, 2017
@klammbueddel klammbueddel linked a pull request Aug 10, 2017 that will close this issue
@ZeroThe2nd
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants