• 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
Unsuccessful copy mail message script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unsuccessful copy mail message script


  • Subject: Unsuccessful copy mail message script
  • From: "Husson, Michael" <email@hidden>
  • Date: Thu, 10 Oct 2002 10:45:43 -0400

I am trying 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.

Here is the script.

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"

Does anyone have any suggestions to fix this?

Thanks

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.

  • Prev by Date: Re: a question on scripting Eudora (guess who this is for..)
  • Next by Date: Re: Is it possible to set up an 'instant' idle handler
  • Previous by thread: Re: "choose file name" Command
  • Next by thread: Copy messages in mail.app to a second mailbox
  • Index(es):
    • Date
    • Thread