|Subject:||Re: Rich Text HTML into Mailbody|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Fri, 25 Feb 2005|
"antitux.de" <email@example.com> wrote in message
> Now my Question: How can I send this Text with the indy-client?
Simply place the HTML text into a TIdMessage. If you want to send the HTML
only with no other formats present (plain text, etc), then place the HTML
into the TIdMessage.Body property and set the TIdMessage.ContentType
property to 'text/html'. If, on the other hand, you want to include other
formats that the receiving client can choose from (not all clients support
HTML), then add TIdText instances to the TIdMessage.MessageParts collection
instead, one for each format being included.
Rich Text HTML into Mailbody posted by antitux.de on Fri, 25 Feb 2005