• 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: Copy messages in mail.app to a second mailbox
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy messages in mail.app to a second mailbox


  • Subject: Re: Copy messages in mail.app to a second mailbox
  • From: cricket <email@hidden>
  • Date: Thu, 10 Oct 2002 11:15:16 -0700

There is no way to do message copies right now. I'm not sure why you're wanting to have duplicate copies of messages, though. Everything in your IMAP account is also on your local disk. In any event, we're working on getting message copying working.

- cricket

On Wednesday, October 9, 2002, at 08:24 PM, Husson, Michael wrote:

I am stuck with a simple applescript which, although generating no errors,
does not produce the desired result of copying selected message(s) to a
second mailbox. My basic purpose is to keep simultaneous copies of selected
mail on my IMAP server as well as my iMac by selecting the message, copying
it to one mailbox on my iMac, and moving the original to a different mailbox
folder on the IMAP server. The following script is the initial step, which
isn't getting anywhere.

tell application "Mail"
set theSelectedMessages to the selection
repeat with eachMessage in theSelectedMessages
duplicate eachMessage to mailbox "Archive"
end repeat
end tell

The event log generates the following:
copy message x of mailbox "INBOX" of account myaccount to mailbox "Archive"

However, these messages never appear in the mailbox "Archive"

What am I doing wrong?

Thanks for any help regarding this.

Michael Husson
Department of Pathology
Pennsylvania Hospital
Philadelphia, PA
email@hidden
_______________________________________________
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.

----->
Software Entomologist/Mail for Mac OS X email@hidden
---------->
The insurgency began and you missed it.
_______________________________________________
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.

  • Prev by Date: Re: a question on scripting Eudora (solved weirdly?)
  • Next by Date: Re: "choose file name" Command
  • Previous by thread: Copy messages in mail.app to a second mailbox
  • Next by thread: Can Network Control pane for OSX be scriptable?
  • Index(es):
    • Date
    • Thread