• 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
create new message in Mail inbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

create new message in Mail inbox


  • Subject: create new message in Mail inbox
  • From: Craig Knelsen <email@hidden>
  • Date: Tue, 30 Nov 2004 17:47:05 -0600

I would like to create a new message in the inbox of an account in OS X Mail. I can "send" a message but that's not what I want. I want to create one directly in an inbox without actually going through the normal send/receive. I have tried:

set newMessage to make new outgoing message with ...

set inbox1 to a reference to mailbox "INBOX" of account 1
move newMessage to inbox1

=> NSArgumentsWrongScriptError

The console shows "[ComposeBackEnd messageStore]: selector not recognized".

I have tried a few other variations but cannot get it to work. I can do "copy newMessage to inbox1" without an error but no new message appears in the inbox. The "copy" is part of standard additions and not Mail so it probably won't actually do anything directly to the specified mailbox.

I have searched the list archives but could not find a definite answer to my particular scenario . It seems that this is not possible with OS X Mail?

_______________________________________________
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: Path to Quark...
  • Next by Date: Re: Accessing the Desktop & directory path specifications
  • Previous by thread: Re: Path to Quark...
  • Next by thread: Re: cost of repeats (was Re: why is applescript so slow???)
  • Index(es):
    • Date
    • Thread