Re: Mail App - plain text
Re: Mail App - plain text
- Subject: Re: Mail App - plain text
- From: Michelle Steiner <email@hidden>
- Date: Wed, 30 Mar 2011 12:25:28 -0700
On Mar 30, 2011, at 11:40 AM, Steve Valenti wrote: How do you make an outgoing message format plain text? Every time I run this code it still remains in rich text… tell application "Mail" set newMessage to make new outgoing message with properties {subject:"mailSubject", content:"mailContent" as text,visible:true, default message format:plain text} end tell
"default message format" is an application property that sets the default for all messages; it is not a property of a message.
So the script would have to be something like this:
tell application "Mail" set default message format to plain text set newMessage to make new outgoing message with properties {subject:"mailSubject", content:"mailContent" as text, visible:true} set default message format to rich text end tell
-- Michelle
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden