• 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: Create an e-mail account using apple script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create an e-mail account using apple script


  • Subject: Re: Create an e-mail account using apple script
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 20 Apr 2005 13:04:36 -0700

On 4/20/05 12:24 PM, "David Siberry" <email@hidden> wrote:

> Hi I am trying to use apple script to create an e-mail account in
> entourage (so that an account is created and all the required fields
> are populated)
>
> Can anyone help?

What exactly is the question? Yes, it is possible, using the usual

    make new POP account with properties {name:"Account name", full
name:"Joe Blow", email address:"email@hidden"...} -- record of
properties

or
    make new IMAP account with properties {name:"Account name", full
name:"Joe Blow", email address:"email@hidden"...} -- record of
properties

using the properties you find in the dictionary. There were a lot of bugs up
to Entourage X, but they were fixed in 2004.

Do not try to set the ID. All the other properties are settable, but certain
IMAP properties like special IMAP folder (Sent Items etc.) can't be set at
inception (same in the UI): you have to create the account first so it can
connect with the server, then set those folders after the first connection.

You might need help figuring out how default signatures work.

But you can't do much in the way of Exchange accounts on 2004 since the new
WebDAV type of Exchange accounts for 2004 are barely scriptable - hardly any
properties are available. Back in Entourage 10.1.4 thru 10.1.6, Exchange
accounts were implemented as IMAP accounts so more properties (such as were
actually present) were available.

You can set passwords by AppleScript, although you can't get them (a type of
security measure): a rare case of a 'write-only' property. There are one or
two peculiarities with a few more obscure properties where they didn't
provide enough boolean properties to deal with all the checkboxes, but these
are pretty obscure and won't present any problem when setting up for the
first time, only if you later try to turn them off.

So what problem are you hitting?

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Create an e-mail account using apple script (From: David Siberry <email@hidden>)

  • Prev by Date: Applescripting SummaryService
  • Next by Date: Re: Applescripting SummaryService
  • Previous by thread: Create an e-mail account using apple script
  • Next by thread: How to detect apple commands and events in web browsers which are available
  • Index(es):
    • Date
    • Thread