cancel
Showing results for 
Search instead for 
Did you mean: 

MAPIEx - Get Mail Action

RhysBuswell
Level 2
Hi, I am wondering if anyone can explain, why the MAPIEx - Get Mail Action does not have the ability to use the "ID" of an email as an input? Kind regards, Rhys
5 REPLIES 5

It's the way the Mapiex library works, but I agree it can be limiting. We're working on a mail VBO that is able to get specific mail items.

RhysBuswell
Level 2
Any idea when this Mail VBO object will be available?  Do you have any suggestions for what can be done in the meantime? 

priyankakh
Level 3
I am getting MAPIExAutomation does not exist while try to run through VDI

bpirigyi
Level 2
How will the Mail VBO work?  Is the VBO MAPI based or will it use Exchange Web Services (EWS) in order to interact with Exchange 2016 since it appears that 2016 does not support MAPI directly.

BekhanBatalov
Level 2
Hello, I added one action called Get Mail by ID in the MAPIEx object. Just make a copy of ""Get Mail"" and edit the code like that : Don't forget to add a new input called ""Input ID"" in the code stage ---------------------------------------- ' Assume success Success = True Error_Message = """" Dim NewID As String = """" Try     Using mapi As New NetMAPI()         'log into mapi         mapi.Login(Profile)         If Not mapi.OpenMessageStore() Then Throw New MAPIException( _          ""Failed to access message store"")         If Not mapi.OpenInbox() Then Throw New MAPIException( _          ""Failed to access inbox"")         'open sub folder if specified         Dim msgFolder As String = ""Inbox""         If Sub_Folder """" Then             msgFolder = ""sub-folder '"" & Sub_Folder & ""'""             If Not mapi.OpenSubFolder(Sub_Folder) Then _              Throw New MAPIException(""Failed to open {0}"", msgFolder)         End If         If Not mapi.GetContents() Then Throw New MAPIException( _          ""Failed to get contents of {0}"", msgFolder)         If mapi.RowCount