Re: Entourage and HTML Email
Re: Entourage and HTML Email
- Subject: Re: Entourage and HTML Email
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 19 Sep 2004 12:42:00 -0700
Take a look at how Entourage itself does multipart/alternative. Also, if you
plan to use us-ascii for the text/plain part, you'd better make sure that
you really are using only US-ASCII (NO curly quotes!). Otherwise, you'll
need IS) 8859-1 and quoted-printable. Again, look to see how Entourage does
it.
An easy way to make sure things are correct would be to make an HTML file
and trick Entourage into rendering it (it's actually the Tasman engine doing
that) by saving it. That will create a message source. You'll get a plain
text part with that. You can then modify the source, make a new message with
the modified source, and delete the original. Take a look at my "Send
Complex HTML X" and "Make Hyperlinks X" scripts at
MacScripter.net <http://macscripter.net/scriptbuilders/>
It might not be exactly what you want here, but might give you some useful
ideas.
--
Paul Berkowitz
> From: Jason Bourque <email@hidden>
> Date: Sun, 19 Sep 2004 14:53:09 -0400
> To: AppleScript ML 2 <email@hidden>
> Subject: Entourage and HTML Email
>
> 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>"
>
>
>
> _______________________________________________
> 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
>
_______________________________________________
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