TIdMessage exception on header parsing

Giganews Newsgroups
Subject: TIdMessage exception on header parsing
Posted by:  Andy (info@no_spamszybkieczytanie.net)
Date: Thu, 13 Jan 2005

Hi,

I wanted to do the following:

        TIdMessage *Msg = new TIdMessage(NULL);
        Msg->LoadFromFile("message.eml");

But there was an exception. After a few tries I found out that this is
causing the problem:

  Subject:
=?iso-8859-2?Q?RE:_Kupi=B3e=B6_przedmiot_poprzez_Kup_Teraz_-_nr_aukcji:_3?=
  =?iso-8859-2?Q?8766819_?=

Chaning it to the following resolves the problem:

  Subject:
=?iso-8859-2?Q?RE:_Kupi=B3e=B6_przedmiot_poprzez_Kup_Teraz_-_nr_aukcji:_38766819_?=

But the bad news is I can't change it on a remote server.
What should I do? :)

Replies