Delphi7.Indy10.0.52.POP3 component loosing connectvity to the server while getti

Giganews Newsgroups
Subject: Delphi7.Indy10.0.52.POP3 component loosing connectvity to the server while getti
Posted by:  ilya ovsishcher (iomong…@yahoo.com)
Date: Fri, 17 Mar 2006

Hi,

Delphi7.Indy10.0.52.POP3 component loosing connectvity to the server while getting email in specific format

Other day we discovered an issue with POP3 component. It tries to download message A, but for some reason it is failing to do so as well it is loosing connection to the server.
We patched our code to check if component connected for every email that we are tryig to pull in the loop, but it will be interesting to know what is the reason of such strange behaviour.
Please let us know is anything can be done to avoid such situation in the future. Other emails processing just fine, but one below gets us in trouble. Outlook gets it without problems.

Message: (One important detail is that before BOUNDARY_OUTLOOK there is character with code of 01. Maybe it is important, maybe POP3 is failing for other reason, not sure.)

Received: from popeye.genericeyes.com ([63.101.151.3]) by acsgsemail1.vinnie.com with Microsoft SMTPSVC(6.0.3790.1830);
     Sun, 26 Feb 2006 18:24:17 -0700
Received: from unknown (HELO popeye.exchange.acsad.genericeyes.com) ([63.97.180.93])
  by popeye.genericeyes.com with ESMTP; 26 Feb 2006 19:25:07 -0600
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
X-IronPort-AV: i="4.02,149,1139205600";
  d="scan'208"; a="57992854:sNHT14715365"
Received: by popeye.exchange.acsad.genericeyes.com with Internet Mail Service (5.5.2657.72)
    id <F2GYSDKA>; Sun, 26 Feb 2006 19:24:17 -0600
Received: from popeye.genericeyes.com ([63.101.151.3]) by popeye.exchange.acsad.genericeyes.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72)
    id F2GYSDJV; Sun, 26 Feb 2006 19:24:13 -0600
Received: from unknown (HELO home-f5euayxkps) ([24.159.140.9])
  by popeye.genericeyes.com with ESMTP; 26 Feb 2006 19:24:52 -0600
Message-Id: <4js1hf$1n9p…@popeye.genericeyes.com>
X-Ironport-SBRS: -0.7
X-Ironport-Group-Policy: SUSPECTLIST_2-$THROTTLED_2
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
X-IronPort-AV: i="4.02,149,1139205600";
  d="scan'"; a="57992805:sNHT12576333"
From: j…@00h00.com
Bcc:
Return-Path: j…@00h00.com
X-OriginalArrivalTime: 27 Feb 2006 01:24:18.0042 (UTC) FILETIME=[8748F5A0:01C63B3C]
Date: 26 Feb 2006 18:24:18 -0700
BOUNDARY_OUTLOOK

Log extract from our program:

3/14/2006 10:29:44 AM - **Starting**
3/14/2006 10:29:51 AM - **Timer trying to start/restart client. Automatic.**
3/14/2006 10:29:52 AM - MailBoxName: . Message: Creating Components
3/14/2006 10:29:52 AM - MailBoxName: . Message: Read Settings
3/14/2006 10:29:52 AM - MailBoxName: genericname. Message: Check Settings
3/14/2006 10:29:54 AM - Work Objects Created.  Starting...
3/14/2006 10:29:54 AM - MailBoxName: genericname. Message: Get number of messages
3/14/2006 10:29:56 AM - MailBoxName: genericname. Message: 1501 messages on server
3/14/2006 10:29:56 AM - MailBoxName: genericname. Message: Retrieving message size #1
3/14/2006 10:29:56 AM - MailBoxName: genericname. Message: Message size #1 is 1KB
3/14/2006 10:29:56 AM - MailBoxName: genericname. Message: Retrieving message #1
Error : Problems working with POP3/IMAP server. MailBoxName: genericname. Error: Connection Closed Gracefully..

Thanks much,
ilya

Replies