Responses inline:
On Jan 14, 2007, at 6:08 AM, Arnaud Nicolet wrote:
Le 14 janv. 07 à 14:02 Soir, Stefan a écrit:
Am 14.01.2007 um 01:54 schrieb Arnaud Nicolet:
Le 14 janv. 07 à 00:01 Matin, Stefan a écrit:
Am 13.01.2007 um 23:03 schrieb Arnaud Nicolet:
Hello,
I would like to make an application that can send e-mails to
someone when it's his/her birthday. The text can be styled.
As the Language Reference states, an EmailMessage object has
these useful properties:
BodyPlainText
BodyEnriched
BodyHTML
BodyEnriched today isn't that common. If you need to support OS
9, you probably
should use Enriched.
Hmm... OS 9 is to be considered. Do you advise me to use Enriched
for OS 9 anyway?
Well, I missed the point, that OS 9 supports PlainText too. In
case you would like to
send OS 9 friendly styles email, you need to support EnrichedText.
If I send PlainText and HTML, the clients that can't read HTML will
display the plain text, right?
Yes, that is the way that it is supposed to work.
All modern mail clients should be able to read PlainText and
HTML - while HTML might
get marked by certain filters more likely as spam.
So, since I want to send styled mails, I have to use HTML that
will be considered as spam. Well, that's a shame.
So, how does one send styled mails that aren't spam?
You simply can't.
Spam filters follow certain rules which aren't predictable in
general.
I claimed, that HTML email is more likely to get marked as spam,
but PlainText might
get marked too.
You should finish your application orderly and conform to email's
RFC definitions.
Then you are - in general - on the safe way. If emails get marked,
this is mainly
related to their contents
Thank you.
Do you know of a -relatively- simple way to convert styled text
(from an editfield where fonts, fontsizes, colours and styles are
supported, with the "styled" property checked) to an HTML form?
I'd think if every character has different sizes and colours (a
joyful e-mail), you get <FONT SIZE> and <FONT> very often. By the
way, the <FONT SIZE=x> is not the real size (e.g. 12), correct?
What if my e-mail contains text at 72 pts?
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
You'd have to "include" some CSS to specify exact font sizes, and you
probably want to use px (pixel height) instead of pt ("point"
height). That way, 72px is 1 inch high on all platforms, but 72pt is
actually 96 pixels high on Windows (in fact, every font on Windows is
exactly 96/72 pixels larger than the typography standard "point").
--
Glenn L. Austin <><
Computer Wizard and Race Car Driver
<[EMAIL PROTECTED]>
<http://www.austin-home.com/glenn/>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>