Re: Problems importing the unix mailbox into Mail.app
Re: Problems importing the unix mailbox into Mail.app
- Subject: Re: Problems importing the unix mailbox into Mail.app
- From: Tommy Bollman <email@hidden>
- Date: Sun, 23 May 2010 23:17:48 +0200
Den 23. mai 2010 kl. 21.43 skrev Tommy Bollman:
> 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
>
I just wanted to add that what I want to achieve with this is a method to import the unix mail into somefolder in Mail.app (together with) a rule action which moves new messages on a regular basis as The easy solution for getting access to the unix mail. -Any suggestions about working solutions for achieving this for Snow Leopard are very welcome.
But I don't want a whole mail-server setup to worry about.
There must be a way?
Best regards
Tommy Bollman
--------------------------------------------------------------------------------------------------
When angry, count four; when very angry, swear.
-- Mark Twain
_______________________________________________
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