|Subject:||Re: SMTP and Richtext|
|Posted by:||Remy Lebeau (Indy Team) (firstname.lastname@example.org)|
|Date:||Tue, 17 Oct 2006|
"Joachim Klöfers" <…@datarequest.de> wrote in message
> I want to send a richtext formatted file via smtp.
> But (I am absolut new) cannot find out how to do that.
> That means, what content type, and so on.
Use 'text/rtf' for the content type. If you don't want to put any
attachments into the message, then simply assign the RTF text to the
TIdMessage.Body property and then set the TIdMessage.ContentType property.
Otherwise, put the RTF into a TIdText object instead that is added to the
SMTP and Richtext posted by Joachim Klöfers on Tue, 17 Oct 2006