|Subject:||Re: Sending Rich Text via email using the SMTP client|
|Posted by:||Remy Lebeau \(Indy Team\) (email@example.com)|
|Date:||Mon, 24 Sep 2007|
"Ian Munro" <i…@gtl.biz> wrote in message
> I need to send Rich Text via email using the SMTP client.
Have a look at the following article:
You can substitude "RTF" for "HTML" and get the same effect.
> Do I need to convert this into html before I add it to TIdMessage control
Not technically, no. As long as you can get the RTF codes out of the
TRichEdit (set the PlainText property to False when calling
SaveToStream/File()), then you can put it into TIdMessage just fine.
However, you should convert to HTML, as it is more widely supported then
RTF. But it is not a requirement if you want to stick with RTF.
Sending Rich Text via email using the SMTP client posted by Ian Munro on Mon, 24 Sep 2007