I think that $raw IS set, because I call:
$gmail->fetchBox(GM_STANDARD, "inbox", 0);
Looking through this, we see it fires:
And then looking at the fetch function we see the line:
Code:
$this->raw = $packets;
So $raw is getting set. But I've just found something interesting...
In this same fetch function, the data returned from GMail is in the $inbox variable. I shot it out to HTML via:
Code:
echo "<textarea>".$inbox."</textarea>";
This is what's in the textarea:
Code:
<script>top.location="https://www.google.com/accounts/ServiceLogin?service=mail&passive=true&rm=false&continue=https%3A%2F%2Fmail.google.com%2Fmail%3Fui%3Dhtml%26zy%3Dl";</script>
Any idea what's up with that?
Thanks!
Dave