Page 1 of 1

connecting to gmail

Posted: Sun Feb 19, 2006 9:01 pm
by playa4real
Hey,

I am trying to connect to my gmail account using the script below, but i can't connect. Does anyone know how to do this or what i am doing wrong. Any help is appreciated!

$mail = @imap_open('{pop.gmail.com:995/novalidate-cert/pop3/ssl}', '******@gmail.com', 'password')
or die("Connection to server failed");

i have enabled pop3 forwarding in gmail.. im using XAMPP (apache, mercurymail, mysql, php and all of that good stuff) and am currently working off of localhost.


Thanks!

Posted: Sun Feb 19, 2006 9:08 pm
by feyd
any errors being fired, in-page or in the server logs or something?

Posted: Sun Feb 19, 2006 10:06 pm
by playa4real
nope, no errors.. :cry:

Posted: Sun Feb 19, 2006 11:44 pm
by josh
Try removing @ yet? I don't think that's the problem but it won't hurt anything