• 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
Problems importing the unix mailbox into Mail.app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems importing the unix mailbox into Mail.app


  • Subject: Problems importing the unix mailbox into Mail.app
  • From: Tommy Bollman <email@hidden>
  • Date: Sun, 23 May 2010 21:43:16 +0200

Could any body please tell me what I am doing wrong?
Script Debuggers dictionary statest that it should take a fileobject as a reference.
If i rename the file to somefile.mbox the format menu of Mail.app is greyed out before
it gives up alas no result.


set mf to path to desktop as text
-- set x to a reference to file (mf & "mailfile")
set x to a reference to file "Macintosh HD:private:var:mail:mymailfile"
try
    tell application "Mail"
        activate
        import Mail mailbox at x
    end tell
on error e
    display dialog e
end try
Best regards



Tommy Bollman
--------------------------------------------------------------------------------------------------
The two most common things in the Universe are hydrogen and stupidity.
		-- Harlan Ellison

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Problems importing the unix mailbox into Mail.app
      • From: Axel Luttgens <email@hidden>
    • Re: Problems importing the unix mailbox into Mail.app
      • From: Tommy Bollman <email@hidden>
  • Prev by Date: Re: Getting a link from a safari window
  • Next by Date: Re: Problems importing the unix mailbox into Mail.app
  • Previous by thread: Re: AppleScript and Valentina Database
  • Next by thread: Re: Problems importing the unix mailbox into Mail.app
  • Index(es):
    • Date
    • Thread