Hi, I am trying to use php and the imap functions to connect to an email account and retrieve my emails (I am with Hostgator). For some reason i can't connect. This is the code I have $imap = @imap_open('{'.$imap_host.':'.$imap_port.'}INBOX', $imap_userid, $imap_password) OR die(imap_last_error()); $status = imap_check($imap); PHP: I get the following error message on the screen. Certificate failure for mail.xxxx.com: unable to get local issuer certificate: /C=US/postalCode=77092/ST=TX/L=Houston/street=Suite 400/street=11251 Northwest Freeway/O=HostGator.com/OU=HostGator.com/OU=Comodo PremiumSSL Wildcard/CN=*.hostgator.com Notice: Unknown: Certificate failure for mail.xxxx.com: unable to get local issuer certificate: /C=US/postalCode=77092/ST=TX/L=Houston/street=Suite 400/street=11251 Northwest Freeway/O=HostGator.com/OU=HostGator.com/OU=Comodo PremiumSSL Wildcard/CN=*.hostgator.com (errflg=2) in Unknown on line 0 Code (markup): anyone knows what I am doing wrong?