Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting existing mail account



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:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Selecting existing mail account (From: Jobst Gmeiner <email@hidden>)



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.