Hi Jeremy,
I don't think the problem is a PHP problem, though I could be
wrong. My guess is that those are either not the correct parameters
for connecting to Gmail. As stated in the note on p. 137, there are
a lot of variables in how security is set up with different ISPs
and email providers. It is beyond the scope of the book to go too
far into that and you shouldn't worry too much about it in a local
test install.
Having said that, if someone else on the list has set up a
connection from their PHP install to send mail through their Gmail
accounts, please chime in and educate us both.
I apologize that I do not have the time to look more deeply
into this.
Regards,
Bob