Creating a Mail account and unsettable password
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