Adding additional headers to new outgoing Mail message?
Adding additional headers to new outgoing Mail message?
- Subject: Adding additional headers to new outgoing Mail message?
- From: Don Johnson <email@hidden>
- Date: Tue, 8 Nov 2005 16:06:10 -0500
Hello,
I've been sending Mail messages from FileMaker (5.5) using
AppleScript for a few years now, and have decided to get "fancy" and
format the messages in HTML rather than plain text.
However, I can't figure out how to set the "Content-Type:" header
using AppleScript ... or do anything else, for that matter, which
tells Mail to display the message as HTML.
While I can get AppleScript to read headers from messages already
received, attempting to set or read headers from a new outgoing
message (as in the following script) throws an error ... what's up?
tell application "Mail"
set newMessage to make new outgoing message with properties
{sender:"email@hidden", subject:"test", content:"body" & return}
set theHeaders to the name of every header of newMessage
end tell
many thanks,
Don
_______________________________________________
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