Corrupt message detected in subject

Giganews Newsgroups
Subject: Corrupt message detected in subject
Posted by:  slappyhack (slappyha…@gmail.com)
Date: Thu, 23 Mar 2006

Delphi 2006
Indy 10

Sometimes while fetching Mailmessages using popQueue.Retrieve(intMsgNumber, msgQueue)

        popQueue.Host := trim(strServer);
        popQueue.Port := intPort;
        popQueue.Username := trim(strUsername);
        popQueue.Password := trim(strPassword);
        popQueue.Connect;
      //how many mails are there for our loop
        LNumMsg := fPOP.CheckMessages;

  I get "Corrupt message detected" in the subject line.

Something like this in the body:

A corrupt mail message, ID 1143130087371 from <Ema…@OurDomain.com> has been

detected.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

<HTML>

<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7226.0">

<TITLE>Corrupt message detected</TITLE>

</HEAD>

<BODY>

<!-- Converted from text/plain format -->

<P><FONT SIZE=2>A corrupt mail message, ID 1143130087371 from &lt;Ema…@OurDomain.com&gt; has been</FONT>

<BR><FONT SIZE=2>detected.</FONT>

</P>

</BODY>

</HTML>

Is this an Indy or Exchange server or external issue?

Replies