0 votes

"Tried to read a line. Only '* 319 FETCH (FLAGS (\Seen $NotJunk) UID 361 INTERNALDATE \"14-Aug-2015 08:12:35 +0000\" RFC822.SIZE 6961 BODYSTRUCTURE ((\"text\" \"plain\" (\"charset\" \"utf-8\") NIL NIL \"quoted-printable\" 135 1 NIL NIL NIL NIL)(\"text\" \"html\" (\"charset\" \"utf-8\") NIL NIL \"quoted-printable\" 136 1 NIL NIL NIL NIL) \"alternative\" (\"boundary\" \"----=NextPart4518533.507502565155\") NIL) ENVELOPE (\"Fri, 14 Aug 2015 13:42:01 +0530\" \"WorkBook Send/Receive Test Mail\" ((\"mish' received. Please make sure that antivirus and firewall software are disabled or configured correctly."

by

1 Answer

0 votes

'Tried to read a line' error means, that there was a timeout or the connection was cut.

In most cases this error means that the connection was interrupted, it was lost, the server disconnected or your antivirus/firewall cut the connection.

In technical terms, it means exactly what the exception’s message says:
Component tried to read a line (ending with CRLF), the line was expected in accordance to the protocol in use (IMAP in your case), but it has not been received during the specified time period.

On extremely slow networks you may increase timeout values: ReceiveTimeout and SendTimeout (defaults are set to 20 seconds).

In most cases you’ll need to connect again.

by (301k points)
...