• 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: Help for mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help for mail.app


  • Subject: Re: Help for mail.app
  • From: John Baltutis <email@hidden>
  • Date: Fri, 13 May 2005 11:44:51 -0700

On 05/13/05, David Siberry <email@hidden> wrote:
>
> Hi I am trying to write a script to create an e-mail account in
> Mail.app. but when i try and compile the script below i get the
> following error: "Mail got an error: NSArgumentsWrongScriptError"
>
> Can anyone help, what am i doing wrong?
>
> tell application "Mail"
>
>	set m to make new pop account
>	set name of m to "David"
>	set user name of m to "Sibs"
>	set server name of m to "pop.mail.com"
>	set password of m to "password"
>	set full name of m to "David Siberry"
>	set email addresses of m to "email@hidden"
>
> end tell

Why don't you just use the Apple-supplied Create New Mail Account.scpt
located in /Library/Scripts/Mail Scripts/?
 _______________________________________________
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

  • Prev by Date: Re: Error Types
  • Next by Date: Re: Finder bug
  • Previous by thread: Re: Help for mail.app
  • Next by thread: Tiger error with meta-info
  • Index(es):
    • Date
    • Thread