TIDMessage CharSet property bug?

Giganews Newsgroups
Subject: TIDMessage CharSet property bug?
Posted by:  Joe Smith (sdigjsdkjkgsdkjkj…@hotmail.com)
Date: Sun, 24 Dec 2006

I've noticed this in Indy 8 and now in Indy 9.0.18 as well:

I've put a TIDmessage on a form.
Then I change the message Body somewhere in the program and send this
message with TIdSMTP (when a user clicks on a button). Everything works
well, except: if you happen to set the CharSet property (design-time) the
following problem happens:

The first time you send a message the character set is set up properly in
the headers.
Every next time the character set in the header gets another line. For
example if I would use the same TIdMessage 10 times it would have 9 extra
lines it (something sets them up).

Replies