Re: Selecting existing mail account
Re: Selecting existing mail account
- Subject: Re: Selecting existing mail account
- From: Jobst Gmeiner <email@hidden>
- Date: Fri, 30 Mar 2007 19:13:26 +0200
Thanks Peter,
I checked my script again because I thougt I had scripted it like you suggested. But, mea culpa, I made a stupid mistake: In my ongoing script, I removed from the addressX the last dot in order to identify the address for better finding the proper signature belonging to this very address for the message ! And I forgot to replace the dot, so I didn't use a proper address at all!
Sorry and thanks again
Jobst
___________________________________
Jobst Gmeiner
Am 30.03.2007 um 18:20 schrieb Peter Baxter: 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
"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