G
Gonzo Net
Has anyone got 2.0 C# working with MAPI and CDO. I can get it to work
with VB but not C#. Here is a sample of VB code:
Imports MAPI
Imports MAPI.CdoDefaultFolderTypes
______________________________________
Dim CdoMessages As MAPI.Messages
Dim cdoSession As MAPI.Session
Dim CdoFolder As Folder
Dim CdoMessage As MAPI.Message
cdoSession = New MAPI.Session
cdoSession.Logon("bomcng", , False, True)
CdoFolder = cdoSession.GetDefaultFolder(CdoDefaultFolderInbox)
CdoMessages = CdoFolder.Messages
Does anyone have a working comparable code snippet for C#?
Larry Jones
with VB but not C#. Here is a sample of VB code:
Imports MAPI
Imports MAPI.CdoDefaultFolderTypes
______________________________________
Dim CdoMessages As MAPI.Messages
Dim cdoSession As MAPI.Session
Dim CdoFolder As Folder
Dim CdoMessage As MAPI.Message
cdoSession = New MAPI.Session
cdoSession.Logon("bomcng", , False, True)
CdoFolder = cdoSession.GetDefaultFolder(CdoDefaultFolderInbox)
CdoMessages = CdoFolder.Messages
Does anyone have a working comparable code snippet for C#?
Larry Jones