G
Geoffrey F. Green
Hi --
I'm trying to work on an Applescript to move folders from a POP
account to an IMAP account, and do so while preserving the "received
date."
Moving & copying directly doesn't work. So I tried this, which
contains some code modified from a script included with Spamsieve, but
it didn't work either. I get the error "Microsoft Entourage got an
error: Can't make class incoming message." Thoughts? Thanks.
tell application "Microsoft Entourage"
set acct to IMAP account "IMAP Account"
set thefolder to folder "Mailing lists" in folder "INBOX" of acct
set msgs to current messages
repeat with m in msgs
set msource to the source of m
set ifRead to read status of m
make new incoming message at thefolder with properties
{account:acct, source:msource, read status:ifRead}
end repeat
end tell
- geoff
I'm trying to work on an Applescript to move folders from a POP
account to an IMAP account, and do so while preserving the "received
date."
Moving & copying directly doesn't work. So I tried this, which
contains some code modified from a script included with Spamsieve, but
it didn't work either. I get the error "Microsoft Entourage got an
error: Can't make class incoming message." Thoughts? Thanks.
tell application "Microsoft Entourage"
set acct to IMAP account "IMAP Account"
set thefolder to folder "Mailing lists" in folder "INBOX" of acct
set msgs to current messages
repeat with m in msgs
set msource to the source of m
set ifRead to read status of m
make new incoming message at thefolder with properties
{account:acct, source:msource, read status:ifRead}
end repeat
end tell
- geoff