Scripting message move from Local to IMAP folders

J

Jonathan Duke

In Entourage v.X, I'm trying to move messages from a local folder to an
IMAP folder (same source/destination folders) and run that on a schedule.

I've got a problem with my script and am not certain where to read up on
the best way to accomplish this procedure. How I wish Entourage were
recordable....

Here's my script at the moment:

tell application "Microsoft Entourage"
move (every message in outbox folder) to folder "Sent Items" in IMAP
account "LBE IMAP"
end tell

I started with a script that would move between local folders, but am
not certain how to reference server-based folders.

Thanks for any pointers.

Cheers,
Jon
 
J

Jonathan Duke

Jonathan Duke said:
In Entourage v.X, I'm trying to move messages from a local folder to an
IMAP folder (same source/destination folders) and run that on a schedule.

I've got a problem with my script and am not certain where to read up on
the best way to accomplish this procedure. How I wish Entourage were
recordable....

Here's my script at the moment:

tell application "Microsoft Entourage"
move (every message in outbox folder) to folder "Sent Items" in IMAP
account "LBE IMAP"
end tell

I started with a script that would move between local folders, but am
not certain how to reference server-based folders.

Thanks for any pointers.

Cheers,
Jon

I've got copy to/from local folders working (as shown in the code
below), however, I can't get the copy to the IMAP folder working (the
fragment commented out returns an ID, just that it doesn't work).

tell application "Microsoft Entourage"
set obfolder to outbox folder
-- set destfolder to ID of folder "Sent Items" in IMAP account "JAD"
set destfolder to ID of folder "Drafts"

move (every message in obfolder) to folder id destfolder
end tell

Hope someone can shed some light on this.

Cheers,
Jon
 

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