Greetings!
We sent a test email from gmail with richtext formatting (colored text and different size fonts) to our mail client Delphi application which has TRichView editor.
It looks like gmail uses CSS and a RGB syntax when composing rich text emails from gmail.
here's the code gmail generated when I composed the email:
<div dir="ltr"><div><div><u><font size="6">Hi</font></u><br><br></div><span style="color:rgb(56,118,29)">Bye</span><br><br><br></div><b><span style="color:rgb(116,27,71)">Good Afternoon</span></b><br></div>
Can TRichView support this (css etc)?
The email looked like this when I composed it from gmail:
http://www.prositedev.com/tmp/view_from_gmail.pngl
but came into TRichView like this: (no text colors and some fonts not correctly):
http://www.prositedev.com/tmp/view_from_trichview.pngl
Any ideas for us to resolve?
Thank you much for your time,
Shawn [/url]
Is CSS supported with TRichView
oops
I see the links for the screenshots I gave in the original post are bad.
try these:
The email looked like this when I composed it from gmail:
http://www.prositedev.com/tmp/view_from_gmail.png
but came into TRichView like this: (no text colors and some fonts not correctly):
http://www.prositedev.com/tmp/view_from_trichview.png
I see the links for the screenshots I gave in the original post are bad.
try these:
The email looked like this when I composed it from gmail:
http://www.prositedev.com/tmp/view_from_gmail.png
but came into TRichView like this: (no text colors and some fonts not correctly):
http://www.prositedev.com/tmp/view_from_trichview.png
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: