Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Applescript > create account ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 1578 of 1611
Post > Topic >>

create account in mail.app using applescript

by Luke Cowell <lcowell@[EMAIL PROTECTED] > Feb 20, 2008 at 09:25 PM

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




 4 Posts in Topic:
create account in mail.app using applescript
Luke Cowell <lcowell@[  2008-02-20 21:25:37 
Re: create account in mail.app using applescript
Luke Cowell <lcowell@[  2008-02-21 10:50:51 
Private Message
   2008-02-21 13:02:23 
Private Message
   2008-02-21 13:15:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 20:24:01 CDT 2008.