Re: Selecting existing mail account
Re: Selecting existing mail account
- Subject: Re: Selecting existing mail account
- From: Peter Baxter <email@hidden>
- Date: Sat, 31 Mar 2007 02:20:25 +1000
Hi Jobst,
You could avoid the mail error by using an existing account as shown below.
tell application "Mail" set everyAccount to every account set AddressX to item 1 of everyAccount set theNewMessage to make new outgoing message with properties {subject:"TopicX", content:"TextX", visible:true, sender:AddressX} end tell
Peter Baxter Director of Music Ararat Community College Barkly St West Ararat Victoria 3377 Ph: 0353524177
email: email@hidden
"If a child hears good music from the day of birth, the child develops sensitivity, discipline and endurance as well as a beautiful heart."
-- Shinichi Suzuki, music teacher |
_______________________________________________
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