G
Guest
Hi Everyone, hope comeone can help
I'm using Access 2000 to generate emails in Outlook 2000. I've been ok at doing simple emails using code such a
Set objOutlook = CreateObject("Outlook.Application"
Set objOutlookMsg = objOutlook.CreateItem(olMailItem
With objOutlookMs
Set objOutlookRecip = .Recipients.Add("Nancy Davolio"
etc...
References tell me that MAPI can do some interesting things, but I'm having trouble compiling sample source code when attempting to use MAPI
e
Const strServer = "MyServer
Const strMailbox = "MyMailbox
Dim objSession As MAPI.Sessio
Fails on the third line "User defined type not defined". Might seems like a silly question, but what could I be missing, or where can I look to resolve this issue
Any help would be appreciated
Regards, Richard
I'm using Access 2000 to generate emails in Outlook 2000. I've been ok at doing simple emails using code such a
Set objOutlook = CreateObject("Outlook.Application"
Set objOutlookMsg = objOutlook.CreateItem(olMailItem
With objOutlookMs
Set objOutlookRecip = .Recipients.Add("Nancy Davolio"
etc...
References tell me that MAPI can do some interesting things, but I'm having trouble compiling sample source code when attempting to use MAPI
e
Const strServer = "MyServer
Const strMailbox = "MyMailbox
Dim objSession As MAPI.Sessio
Fails on the third line "User defined type not defined". Might seems like a silly question, but what could I be missing, or where can I look to resolve this issue
Any help would be appreciated
Regards, Richard