Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
- Subject: Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail"
- From: Michelle Steiner <email@hidden>
- Date: Fri, 9 Jun 2006 08:46:22 -0700
On Jun 9, 2006, at 8:07 AM, Henry Halff wrote: I opened an outgoing message (using several different methods). In no case did the reference "message 1 of sent mailbox" return the outgoing message.
This works only if there are any messages in the Sent mailbox, of course. Nor could I find it anyplace in the sent message. It did appear in the drafts mailbox once I saved it as a draft, but I can't think of a way of doing save as draft under script control (other than waiting around for autosave).
Unless you save an outgoing message, you can't reference it, except at the time you create it under Applescript. Once created, the script can save it as a draft.
tell application "Mail" set foo to make new outgoing message with properties {visible:true, subject:"test"} save foo end tell
-- Michelle
-- "In Chico, California you'll find Velveeta in the gourmet section." --Herb Caen
|
_______________________________________________
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