HTML and Attachement

Giganews Newsgroups
Subject: HTML and Attachement
Posted by:  Alan McDonald (al…
Date: Tue, 23 Nov 2004

I can send HTML emails withou problem but as soon as I do
TIdAttachmentFile.Create(idMessage1.MessageParts, filename);
The meail comes thru fine and the attachment is fine (a pdf in this
but the body of the message reverts to plain text...
The HTML is all visible.

What do I need to do to make the html work as well as the attachment?

I've tried creating idText parts but still no luck