• 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: Thierry Faucounau <email@hidden>
  • Date: Wed, 2 Oct 2002 06:13:34 +0200

Yes, I found that out via ADC. Feature request 3064975 :)

To answer your question, I have a Cocoa app which reads Windows dbx mailbox files and converts them to mbox files. These can then be imported into almost all mail programs.

The AppleScript part is a way to automate the import for the user while preserving the meta data I get from reading the dbx (like whether the message was read, replied to, came from a newsgroup, etc...). This allows the app to faithfully recreate the mailbox as it was in the original Windows mailer.

Since Mail reads mbox files (in fact it seems to wrap a standard mbox file in a directory with its housekeeping information) I will try to place the mbox files and have the app launch Mail then clean up the message properties. Not great but hopefully it'll work. The other mailers seem to support creating message objects into mailboxes so it should be smoother for those users.

Thierry

On Tuesday, October 1, 2002, at 08:04 PM, cricket wrote:

You can't create new message objects and put them in mailboxes. I'm not sure exactly what you are wanting to do here. Mail's Applescript dictionary is intended to help automate typical user actions (create a new message and send it, move messages, get the data of a message and/or mailbox, set preferences, etc). What exactly are you wanting to do? If it's possible to do in Mail without Applescript, it's likely to be possible (or is planned for the future) in Applescript.

- cricket

On Monday, September 30, 2002, at 06:39 PM, Thierry Faucounau wrote:

Unfortunately, I still do not seem to be able to find a way to create messages in a mailbox which is what I need to finish my application. I'm thinking I may need to use and ADC incident to get a final verdict on whether this is possible with the current state of AS in Mail.

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
If you can read this, you are not the President
_______________________________________________
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.
_______________________________________________
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.

References: 
 >Re: Adding a message to a mailbox in Mail (From: cricket <email@hidden>)

  • Prev by Date: Re: Regex on OS X
  • Next by Date: Re: Adding a message to a mailbox 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