Rich text in email

How can I send the body of a email in rich text using Indy
gerhard9121Asked:
Who is Participating?
 
gerhard9121Author Commented:
Had a look at the raize demo but it just sends your email to an email program like outlook.

I have my own SMTP and want to send the body as rich text
0
 
developmentguruPresidentCommented:
As I understand it you have two options.  You can convert the rich text to HTML and send it in the body of the email or you can add the rich text as a separate file attachment.  The body of the email is generally plain text or HTML.  If what you have allowed your users to enter in rich text is simple then you should be able to do the conversion yourself.  If you will choose one of the options and give it a shot I would be happy to help with new questions that come up.
0
 
gerhard9121Author Commented:
When I load a .HTM file into the message body I only get plain text with the format characters in the body of the email

Var
  l_body: TStrings

  l_body.loadfromfile(etmp.htm);
  msg.body.assign(l_body);
0
 
developmentguruPresidentCommented:
You would need to be sure that the account receiving your email is setup to allow HTML emails.
0
 
senadCommented:
got a nice mail component from: http://www.raize.com/DevTools/RzComps/Default.asp

it lets you compose msg any way you want and send it...
Cute really ...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.