Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Rich text in email

Posted on 2009-07-15
5
Medium Priority
?
306 Views
Last Modified: 2012-05-07
How can I send the body of a email in rich text using Indy
0
Comment
Question by:gerhard9121
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 21

Expert Comment

by:developmentguru
ID: 24859855
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
 

Author Comment

by:gerhard9121
ID: 24867021
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
 
LVL 21

Expert Comment

by:developmentguru
ID: 24873519
You would need to be sure that the account receiving your email is setup to allow HTML emails.
0
 
LVL 22

Expert Comment

by:senad
ID: 24891739
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
 

Accepted Solution

by:
gerhard9121 earned 0 total points
ID: 24925535
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question