• 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
Creating a Mail account and unsettable password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a Mail account and unsettable password


  • Subject: Creating a Mail account and unsettable password
  • From: Aurélien Hugelé <email@hidden>
  • Date: Wed, 23 Apr 2008 15:16:11 +0200

Hi list!

I'm trying to create a new (pop) Mail account using AppleScript.
In the Mail's Dictionary, it is stated : "password (text) : Password for this account. Can be set, but not read via scripting"


when creating an account by following /Library/Scripts/Mail Scripts/ Create New Mail Account.scpt code (you can try it yourself, basically it does :
set theNewAccount to make new pop account with properties {name:theAccountName, user name:theUsername, server name:theHostname, password:thePassword, full name:theFullName, email addresses: {theEmailAddresses}})


The account is correctly created but the password is definitely not set for the account and SMTP server.

I've seen old message on this list about the very same problem but with no answer.

Is the password a read only property despite what's written in the Mail Dictionary?


Aurélien, Objective Decision Team




_______________________________________________ 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
  • Follow-Ups:
    • Re: Creating a Mail account and unsettable password
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: Script to launch or toggle the visibility of an application?
  • Next by Date: Re: Direct networking and phantom volumes (Volume-1)
  • Previous by thread: Re: Direct networking and phantom volumes (Volume-1)
  • Next by thread: Re: Creating a Mail account and unsettable password
  • Index(es):
    • Date
    • Thread