AppleScript how to save a message

S

silexmultimedia

Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel Email Client: pop I'd like to save a message via AppleScript, given its ID. The script below works rather well, except for the fact that when I reimport the mbox file, the message is enclosed in a folder it creates, to the name of the mbox file.

tell application "Microsoft Entourage"
        set lemessage to message id 85250
        save lemessage in "/Users/myName/Desktop/testExportEntourage/test1.mbox"
                 
end tell

Could someone tell me what I'm doing wrong?
 
W

William Smith [MVP]

I'd like to save a message via AppleScript, given its ID. The script
below works rather well, except for the fact that when I reimport the
mbox file, the message is enclosed in a folder it creates, to the
name of the mbox file.

tell application "Microsoft Entourage" set lemessage to message id
85250 save lemessage in
"/Users/myName/Desktop/testExportEntourage/test1.mbox"

end tell

You need to save the message as "test1.eml", which is an individual
message. An .mbox file is a "folder" of messages.

Hope this helps!

--

bill

Entourage Help Page <http://entourage.mvps.org/>
Entourage Help Blog <http://blog.entourage.mvps.org/>
YouTalk <http://nine.pairlist.net/mailman/listinfo/youtalk>
Twitter: follow <http://twitter.com/meck>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top