• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Selecting existing mail account
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
email@hidden
http://www.gmeinerjj.de


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

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

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

  • Prev by Date: Re: renaming JPEG FILES
  • Next by Date: Re: How does one save a vcard?
  • Previous by thread: Re: Selecting existing mail account
  • Next by thread: Re: Return PDF default reader
  • Index(es):
    • Date
    • Thread