FC - 2010-11-05 06:29:34
When I use pop3 to connect to my mail server, this script functions just fine. But using imap to connect, and the script fails badly, as it produces the errors below, along with no longer inserting correctly the emails into the database. While the entries in database are made, the fields are blank... as one would assume would happen according to the messages below since the variables are not defined. Anyone with a clue. My guess is the output of headers, etc is different for imap vs pop, but I must admit I'm a bit aloof in this area.
Notice: Use of undefined constant msgid - assumed 'msgid' in /db-script/class.emailtodb_v0.9.php on line 624
Notice: Undefined index: msgid in /db-script/class.emailtodb_v0.9.php on line 624
Notice: Undefined variable: message_id in /db-script/class.emailtodb_v0.9.php on line 482
Notice: Undefined index: FROM_EMAIL in /db-script/class.emailtodb_v0.9.php on line 483
Notice: Undefined index: FROM_NAME in /db-script/class.emailtodb_v0.9.php on line 484
Notice: Undefined index: TO_EMAIL in /db-script/class.emailtodb_v0.9.php on line 485
Notice: Undefined index: DATE in /db-script/class.emailtodb_v0.9.php on line 486
Notice: Undefined index: SUBJECT in /db-script/class.emailtodb_v0.9.php on line 488
Notice: Undefined index: SIZE in /db-script/class.emailtodb_v0.9.php on line 489
Notice: Undefined index: FROM_EMAIL in /db-script/class.emailtodb_v0.9.php on line 527
Notice: Undefined index: SIZE in /db-script/class.emailtodb_v0.9.php on line 529
E-mail extract