Hi has anyone been able to script the setup of accounts in apple mail
using applescript ?
Here's what I'm trying:
tell application "Mail"
make new imap account with properties {server
name:"imap.server.net", authentication:password, name:"account name",
user name:"user@[EMAIL PROTECTED]
", full name:"Full Name", email addresses:
{"user@[EMAIL PROTECTED]
"}, port:143, smtp server:smtp server
"smtp.server.net"}
end tell
I get:
"Mail got an error: AppleEvent handler failed."
I'm using OS X 10.5.2
Luke


|