pear_error code=-1 when retrieving mail
Posted: 30 Apr 2012, 12:40
I don't know what pear is or why Email Reporting is using it. I tested automated e-mail retrieval at least 20 times, but as soon as my users started e-mailing tickets they just weren't picked up. Here is the debug output from Email Reporting. The messages are sitting in the helpdesk mailbox. I am using Email Reporting 0.90-DEV and Mantis 1.2.9, schema version 183.
Mailbox: INITIALIZATION PHASE
Message: Debug output memory usage
Location: Mail API - Finished __construct
Current memory usage: 5.06 MiB / -1
Peak memory usage: 5.09 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
array(11) {
["enabled"]=>
bool(true)
["description"]=>
string(16) "Helpdesk mailbox"
["hostname"]=>
string(10) "10.1.1.158"
["port"]=>
int(110)
["encryption"]=>
string(4) "None"
["username"]=>
string(8) "helpdesk"
["password"]=>
string(12) "YWJjMTIzJA=="
["auth_method"]=>
string(4) "USER"
["project_id"]=>
int(12)
["global_category_id"]=>
int(1)
["mailbox_type"]=>
string(4) "POP3"
}
Mailbox: Helpdesk mailbox
Message: Debug output memory usage
Location: Mail API - Start process mailbox
Current memory usage: 5.06 MiB / -1
Peak memory usage: 5.1 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
Mailbox: Helpdesk mailbox
[pear_error: message="" code=-1 mode=return level=notice prefix="" info=""]
Mailbox: Helpdesk mailbox
Message: Debug output memory usage
Location: Mail API - Finished process mailbox
Current memory usage: 5.08 MiB / -1
Peak memory usage: 5.1 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
Done checking all mailboxes
Mailbox: INITIALIZATION PHASE
Message: Debug output memory usage
Location: Mail API - Finished __construct
Current memory usage: 5.06 MiB / -1
Peak memory usage: 5.09 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
array(11) {
["enabled"]=>
bool(true)
["description"]=>
string(16) "Helpdesk mailbox"
["hostname"]=>
string(10) "10.1.1.158"
["port"]=>
int(110)
["encryption"]=>
string(4) "None"
["username"]=>
string(8) "helpdesk"
["password"]=>
string(12) "YWJjMTIzJA=="
["auth_method"]=>
string(4) "USER"
["project_id"]=>
int(12)
["global_category_id"]=>
int(1)
["mailbox_type"]=>
string(4) "POP3"
}
Mailbox: Helpdesk mailbox
Message: Debug output memory usage
Location: Mail API - Start process mailbox
Current memory usage: 5.06 MiB / -1
Peak memory usage: 5.1 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
Mailbox: Helpdesk mailbox
[pear_error: message="" code=-1 mode=return level=notice prefix="" info=""]
Mailbox: Helpdesk mailbox
Message: Debug output memory usage
Location: Mail API - Finished process mailbox
Current memory usage: 5.08 MiB / -1
Peak memory usage: 5.1 MiB / -1
Current real memory usage: 5.25 MiB / -1
Peak real memory usage: 5.25 MiB / -1
Done checking all mailboxes