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.
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
Well, the purpose of my application was out of my mind during one
moment.
In fact, if my application is running while the computer is connected
to Internet, I plan to check for received messages (the user can
enter, if he wants, the account information)
When my application sends an e-mail, an header is added. This header
contains the name of my application.
Now, if on the other side, my application is allowed to check for e-
mails, I get a list of mails from the server. I check if a message
has the header of my application's name (obviously, I don't take care
of other mails nor delete anything on the server). Then I display the
e-mail in my own application.
Therefore, I imagine I could send the styled information in a new
header. If the user reads the mail using his default mail reader, it
sees only as plain text. If he uses my application, it sees the
styled text.
But that gives me 2 questions:
1: can headers have non-printable or high characters for an e-mail?
2: is there a limitation (e.g. in length) of an header?
If 1 is yes and 2 is no, then that's
fine._______________________________________________
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>