I am trying to set up a macro to move items sent through some POP3 accounts into my IMAP Sent Items folder (because I've created the POP3 accounts as send-from aliases).
I've followed the instructions at this page: http://www.slipstick.com/developer/code-samples/use-a-macro-to-move-imap-account-sent-items/
The macro works: messages do get moved to the IMAP folder. But, the IF statement involved isn't working. The macro doesn't move only messages for the specified Display Name account: it moves all sent items that end up in my local sent items folder.
Can anyone advise what's preventing this working as expected, please?
I've followed the instructions at this page: http://www.slipstick.com/developer/code-samples/use-a-macro-to-move-imap-account-sent-items/
The macro works: messages do get moved to the IMAP folder. But, the IF statement involved isn't working. The macro doesn't move only messages for the specified Display Name account: it moves all sent items that end up in my local sent items folder.
Can anyone advise what's preventing this working as expected, please?