Hallo together,
what I want to do:
move a specific E-Mail from the outlook default folder to another. e.g. "folder_new".
My problem is the move-command for the email.
What I found was $Message.Copy. But I don't know how to use this
$oOutlook = ObjCreate("Outlook.Application")
$oMAPI = $oOutlook.GetNameSpace ("MAPI")
$InboxItems = $oMAPI.GetDefaultFolder ($oOutlookFolderInBox).Items ;Read all mails from inbox
For $Pos = $InboxItems.Count To 1 Step - 1
$Message = $InboxItems.Item (