Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
C

codekernel

@codekernel
About
Posts
1
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Attempting to use Redemption and Powershell to import .msg files from a folder
    C codekernel

    Hello Folks, I'm using powershell in conjuction with the Outlook Redemption library in an attempt to import messages already present in a folder on the desktop. Although, the code gives no errors, I just don't see the end result of the message being in the inbox. The code being used is as follows: ----------------------------------------------- $outlook = New-Object -COM Outlook.Application $routlook = New-Object -COM Redemption.RDOSession $routlook.Logon $routlook.MAPIOBJECT = $outlook.Session.MAPIOBJECT $msg = $routlook.GetDefaultFolder(6).Items.Add(0) $msg.Import("c:\test.msg", 1024) $msg.save $routlook.Logoff ------------------------------------------------- Any help will be appreciated. Thanks. Kernel

    Database com windows-admin help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups