Guest User

Untitled

a guest
Jan 23rd, 2019
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Set Session = CreateObject("Redemption.RDOSession")
  2. Session.MAPIOBJECT = Application.Session.MAPIOBJECT
  3. set redItem = Session.GetMessageFromId(OutlookMessage.EntryID)
  4. set redFolder = Session.GetFolderFromId(OutlookFolder.EntryID)
  5. for each attach in redItem.Attachments
  6. if attach.Type = olEmbeddeditem Then
  7. attach.EmbeddedMsg.CopyTo OutlookFolder
  8. End If
  9. next
Add Comment
Please, Sign In to add comment