PHP Classes

This is excellent! I will add a few notes to help others use it.

Recommend this page to a friend!

      PHP Email To DB  >  All threads  >  This is excellent! I will add a few...  >  (Un) Subscribe thread alerts  
Subject:This is excellent! I will add a few...
Summary:Package rating comment
Messages:11
Author:Lil Peck
Date:2010-09-04 06:28:05
Update:2013-09-24 21:42:26
 

Lil Peck rated this package as follows:

Utility: Good
Consistency: Good
Examples: Insufficient
  1 - 10   11 - 11  

  11. Re: This is excellent! I will add a few...   Reply   Report abuse  
Picture of Manoranjan Manoranjan - 2013-09-24 21:42:26 - In reply to message 1 from Lil Peck
Hello Lil i have tried both in local server and online server. the script is generate some error.

my error details
--------------------------------
Warning: imap_open() [function.imap-open]: Couldn't open stream {pop.gmail.com/pop3:995/notls}INBOX in /home/jenainfo/public_html/demo/EmailToDatabase/class.emailtodb_v0.9.php on line 59

Warning: imap_num_msg(): supplied argument is not a valid imap resource in /home/jenainfo/public_html/demo/EmailToDatabase/class.emailtodb_v0.9.php on line 114
E-mail extract
**********************************************

My settings
----------------------------------
I am trying to fetch data from gmail account.


include_once("class.emailtodb_v0.9.php");

$cfg["db_host"] = 'localhost';
$cfg["db_user"] = '********';
$cfg["db_pass"] = '********';
$cfg["db_name"] = '********';

$mysql_pconnect = mysql_pconnect($cfg["db_host"], $cfg["db_user"], $cfg["db_pass"]);
if(!$mysql_pconnect){echo "Connection Failed"; exit; }
$db = mysql_select_db($cfg["db_name"], $mysql_pconnect);
if(!$db){echo"DB Select Failed"; exit;}


$edb = new EMAIL_TO_DB();
$edb->connect('pop.gmail.com', '/pop3:995/notls', '*****@***', '*******');
$edb->do_action();

Please help me regarding this.


 
  1 - 10   11 - 11