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. I essentially want to fetch my emails and then parse them... 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!