Re: Entourage and HTML Email
Re: Entourage and HTML Email
- Subject: Re: Entourage and HTML Email
- From: jj <email@hidden>
- Date: Sun, 19 Sep 2004 21:41:58 +0200
Hi!
I'm just working in this issue with XMail, and I think I've found the
"universal" way to create MIME messages compatible with all email clients
(seems that multipart/mixed is not supported by mozilla-based mua-s and
others, and multipart/related is the way to go):
###################################################
Date: blah
From: blah
To: blah
MIME-version: 1.0
Content-type: multipart/related; boundary="FLAG1"
This is a MIME multipart message and blah
--FLAG1
Content-type: multipart/alternative; boundary="FLAG2"
--FLAG2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is the plain text part
--FLAG2
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable
<HTML>
<BODY>
This is the <b>HTML</b> part
</BODY>
</HTML>
--FLAG2--
--FLAG1--
###################################################
jj
> Hello,
>
> I'm tying to script the HTML email process. The basic process works but I
> want to add some things I have seen in Apple email from Apple eNews.
>
> It has some text above the html body that shows up if the recipient doesn't
> have HTML Email client. It directs them to some URLs to see the html email.
> But I tried to add it in the text I get from a template file but I see it in
> the HTML version when I shouldn't.
>
> I want to be able to add the "Content-Type: text/plain; charset=us-ascii"
> section to the email so it works like apples emails?
>
> What am I missing? Any help appreciated.
>
> Jason Bourque
>
>
> Apples Headers
>
>
> " MIME-version: 1.0
> Content-type: multipart/alternative; boundary=This_is_the_boundary_hip_ho;
> charset=us-ascii
> Content-transfer-encoding: 7bit
> Precedence: bulk
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> You appear to be using an email application that won't properly
> display the graphical (or HTML) version of our newsletter. Because
> we want you to enjoy reading Apple eNews, we recommend that you
> visit the following site and switch to the plain text version of
> this newsletter:
>
> http://www.apple.com/enews/change/
>
> If you have trouble reading today's issue of Apple eNews, please
> consider visiting the following web page where it has been posted
> for your enjoyment:
>
> http://www.apple.com/enews/currenteissue/
>
> If you receive a blank message with an enclosure, drag the enclosure
> into the window of your web browser and today's issue of Apple eNews
> will display in your web browser.
>
> Thank you.
>
>
> --This_is_the_boundary_hip_ho
> Content-Type: text/html; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
>
> <html>
> <head>"
--
http://www.macscripter.net/
http://www.osaxen.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden