Recent content by odoll

  1. O

    Having rules run on old mails noved to inbox

    OK, thx for the recommendation. Replaced "1" by the count then, so it should always move off from the end, even a new item gets in. while($SrcFldr.Items.Count -gt 0) { $SrcFldr.Items[$SrcFldr.Items.Count].Move($DstFldr) | Out-Null }
  2. O

    Having rules run on old mails noved to inbox

    Thx Dianne, I was under the impression when defining $EMails = $SrcFldr.Items in Powershell $EMails would be a "static" list of all all objects in $SrcFldr.Items, but obviously it's dynamically changing while moving the items. BTW: as using piping the objects into a ForEach-Object () loop...
  3. O

    Having rules run on old mails noved to inbox

    Diane, thanks a lot for your hints! Though I'm currently stuck with the following odd behaviour of the above little script, which however is a bit off-topic here. Nevertheless I'm gonna mention it: While working on a bigger number of mail items I noticed, that the ForEach loop doesn't process...
  4. O

    Having rules run on old mails noved to inbox

    Thx a lot Diane, > The only way would be to use run rules now command. I already came across hints like this, however I understood it the way as if you'd have to read all defined rules first and execute them on the item one after another? > Otherwise rules only run on mail downloaded from the...
  5. O

    Having rules run on old mails noved to inbox

    OL16 64b on W10 64b Hello, I have a little powershell script which moves items to a PST files standard inbox. How can I achieve that those mails get picked up by the rule engine as if they would have had arrived as incoming (e.g. same as the ones which get downloaded from a pop3 mbx)? Thanks...
Top