|Subject:||Re: TIdMessage exception on header parsing|
|Posted by:||Ciaran Costelloe (ccostell…@flogas.ie)|
|Date:||Mon, 17 Jan 2005|
"Andy" <info@no_spamszybkieczytanie.net> wrote in message
> I wanted to do the following:
> TIdMessage *Msg = new TIdMessage(NULL);
> But there was an exception. After a few tries I found out that this is
> causing the problem:
> Chaning it to the following resolves the problem:
> But the bad news is I can't change it on a remote server.
> What should I do? :)
You must wrap your code in try/except blocks. You are guaranteed to receive
malformed emails, Invariably spam, these days.
TIdMessage exception on header parsing posted by Andy on Thu, 13 Jan 2005