|  | 
  David Halliday - 2009-10-10 03:50:03Hello,This class works except with gmail.
 
 I wonder if there is a way to make it connect with their servers?
 
 Thank you
  mitul koradia - 2009-10-12 04:54:20 - In reply to message 1 from David HallidayHi 
If you want to connect to the GMAIL you have to first enable POP access from gmail control panel and then configure class parameter as per the below example..
 
$obj= new receiveMail('[email protected] ','xxxxx','[email protected] ','pop.gmail.com','POP3','995',true);
 
POP access in gmail is accesible via SSL only and it require 995 as POP port.
 
Hope this will help you
 
Regards 
Mitul
  Scott Abraham - 2013-05-16 17:45:26 - In reply to message 2 from mitul koradiaI have it setup that way, and still no response.  I can switch it to a non-gmail account and it works fine. 
I am using business gmail.  I can set the address up in a mail client as a pop and it works.
 
$obj= new receiveMail('[email protected] ','password','[email protected] ','pop.gmail.com','POP3','995',true);
  Iam Amazing - 2014-06-27 00:19:44 - In reply to message 3 from Scott AbrahamReplace the 'if' statement of the constructor by this line :
 $strConnect='{'.$mailserver.':'.$port. '/'.$servertype.''.($ssl ? "/ssl" : "").'}INBOX';
  mitul koradia - 2014-06-27 05:08:16 - In reply to message 4 from Iam AmazingThanks.. 
 I will test the change and update with your credit. Can you tell me what is the impact of this change?
 |