Title: Scripting HTML/Text Emails
Hi all,

Would like to know if it is possible to create multipart email messages that have both HTML
and the respective text content via applescript? Can someone point me in the right direction?

Currently I'm able to do this by BBediting on an Entourage email file in the Finder and dragging
it back to the mailbox window, then redirecting it to the recipients preserve its contents. Attached below is the format
of such an email... thanks!

greg


--------------
To: xxx
From: xxx
Subject: Email Subject
MIME-Version: 1.0
Content-Type: multipart/alternative; charset=us-ascii;
boundary="This_is_the_boundary_hip_ho"
Content-Transfer-Encoding: 7bit

--This_is_the_boundary_hip_ho
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Text message goes here.

--This_is_the_boundary_hip_ho
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html>
<head>
<body> HTML-formatted test message comes here. </body>
</html>

--This_is_the_boundary_hip_ho--

Reply via email to