Hello Toby,

Tracing ; ezc/Mail/src/transports/transport_connection.php
have a look at this debug : ( xdebug_var_dump( ) )



[r...@centos55 parser]# php parser3a.php
array(2) {
  [0]=>
  string(29) "* OK O soi pront, dimi dut.
"
  ["object"]=>
  resource(13) of type (stream)
}
array(2) {
  [0]=>
  string(21) "A0001 OK Logged in.
"
  ["object"]=>
  resource(13) of type (stream)
}
array(2) {
  [0]=>
  bool(false)
  ["object"]=>
  resource(13) of type (stream)
}
PHP Fatal error: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. Could not read from the stream. It was probably terminated by the host.' in /root/parser/ezc/Mail/src/transports/transport_connection.php:220
Stack trace:
#0 /root/parser/ezc/Mail/src/transports/imap/imap_transport.php(2655): ezcMailTransportConnection->getLine() #1 /root/parser/ezc/Mail/src/transports/imap/imap_transport.php(739): ezcMailImapTransport->getResponse('A0002') #2 /root/parser/parser3a.php(9): ezcMailImapTransport->selectMailbox('Inbox')
#3 {main}
thrown in /root/parser/ezc/Mail/src/transports/transport_connection.php on line 220
:--------------------------------------------------------------------------------------
:--------------------------------------------------------------------------------------
:--------------------------------------------------------------------------------------
string(61) "* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)
"
string(61) "* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent)
"
string(95) "* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent \*)] Flags permitted.
"
string(16) "* 56216 EXISTS
"
string(13) "* 37 RECENT
"
string(34) "* OK [UNSEEN 7928] First unseen.
"
string(42) "* OK [UIDVALIDITY 1272976880] UIDs valid
"
string(41) "* OK [UIDNEXT 56217] Predicted next UID
"
string(232) "* SEARCH 56180 56181 56182 56183 56184 56185 56186 56187 56188 56189 56190 56191 56192 56193 56194 56195 56196 56197 56198 56199 56200 56201 56202 56203 56204 56205 56206 56207 56208 56209 56210 56211 56212 56213 56214 56215 56216
"
string(232) "* SEARCH 56180 56181 56182 56183 56184 56185 56186 56187 56188 56189 56190 56191 56192 56193 56194 56195 56196 56197 56198 56199 56200 56201 56202 56203 56204 56205 56206 56207 56208 56209 56210 56211 56212 56213 56214 56215 56216
"
PHP Fatal error: Uncaught exception 'ezcMailTransportException' with message 'An error occured while sending or receiving mail. Could not read from the stream. XXX It was probably terminated by the host.' in /root/parser/ezc/Mail/src/transports/transport_connection.php:218
Stack trace:
#0 /root/parser/ezc/Mail/src/transports/imap/imap_set.php(239): ezcMailTransportConnection->getLine() #1 /root/parser/ezc/Mail/src/transports/imap/imap_set.php(167): ezcMailImapSet->nextMail() #2 /root/parser/ezc/Mail/src/parser/parser.php(234): ezcMailImapSet->getNextLine() #3 /root/parser/parser3a.php(16): ezcMailParser->parseMail(Object(ezcMailImapSet))
#4 {main}
thrown in /root/parser/ezc/Mail/src/transports/transport_connection.php on line 218

:--------------------------------------------------------------------------------------
:--------------------------------------------------------------------------------------
:--------------------------------------------------------------------------------------



thanks in advance
Alessio

Reply via email to