• 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: Adding a message to a mailbox in Mail
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a message to a mailbox in Mail


  • Subject: Re: Adding a message to a mailbox in Mail
  • From: cricket <email@hidden>
  • Date: Tue, 1 Oct 2002 16:33:15 -0700

The example scripts are pretty thorough -- you're just trying to do
something that is not possible in the UI -- that is, create a message
out of thin air and put in into a mailbox.

Your best bet is to convert to mbox format and mimick the folder
organization style that Mail uses for storing local mailboxes in
~/Library/Mail.

Here's an old import script that pulls in mbox files. It used to work a
few years back. I haven't verified it now, but it should give you some
ideas on how to pull it off.

- cricket

[demime 0.98b removed an attachment of type application/applefile which had a name of Import standard mbox]
On Saturday, September 28, 2002, at 06:52 PM, Thierry Faucounau wrote:

> I'm actually not trying to create an outgoing message, that seems to
> work with
>
> make new outgoing message
>
> The app I am working on converts proprietary mailbox formats to mbox
> format. I am using AppleScript to save the user from having to
> manually import the resulting maiboxes and to take advantage of the
> fact that I have extracted various other meta information (like
> whether the message was read, replied to, etc...).
>
> So what I am trying to do is populate a mailbox with messages that are
> not meant to be sent.
>
> On that note, it seems that apart from the very terse Mail dictionary
> and the example scripts provided in /Application/AppleScript/Example
> Scripts/Mail Scripts there is precious little in the way of
> documentation of Mail's AppleScript capabilities. Does anyone from
> Apple follow this list? Is there some document I have yet to find?

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
http://www.explodingdog.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Adding a message to a mailbox in Mail
      • From: Philip Aker <email@hidden>
  • Prev by Date: Re: How to use "Check for new mail" feature
  • Next by Date: Re: Saving attachments in Mail
  • Previous by thread: Re: Adding a message to a mailbox in Mail
  • Next by thread: Re: Adding a message to a mailbox in Mail
  • Index(es):
    • Date
    • Thread