| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm having trouble figuring out how to set the recipient address property. If recipAddr = "email@hidden" how do I set the recipient address using these properties?
set foo to make new outgoing message with properties {visible:true,
subject:"test"}
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: http://lists.apple.com/mailman/options/applescript-users/email@hidden
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: http://lists.apple.com/mailman/options/applescript-users/email@hidden
| References: | |
| >Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Henry Halff <email@hidden>) | |
| >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Michelle Steiner <email@hidden>) | |
| >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Henry Halff <email@hidden>) | |
| >Re: Problem with Reply, Forward and Outgoing Messages in Application "Mail" (From: Michelle Steiner <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.