Robert martin wrote:

Hi all

We allow email to be created and sent from within our software using a POP3 component. Currently our emails are all plain text but our users would like to be able to do simple formatting (bold / italic / centred / fonts etc). I could easily whip up a RichText component to handle the formatting but how do I send it? Do I have to convert rich text to HTML? What is the easiest way to do this?


Yup, needs to be converted.


Unless someone knows a good html editing component, easiest is probably
to limit the formatting you allow and parse the richtext yourself - ie
just bold, italic and font or something.

There is some way of attaching a parser to a TRichEdit that'll
convert everything, one of the Delphi mags has an online
article about this.

Actually, the well-behaved way is probably using the default e-mail
client if that fits with what you're doing.

And your component should handle mime / html.

Cheers, Kurt.

_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to