CDO.iMailbox failling

V

Viral Parikh

Hi
I am working on sending mail using VBA in MS Access via Exchange 2000. I got
the the code from
http://msdn.microsoft.com/library/d...y/en-us/e2k3/e2k3/_cdo_imailbox_interface.asp.

Please see the code. Here it created object of Person all ok. Then try to
create object for interface iMailbox with Person object which is failing.
Ultimatly I required URL for user's basefolder to open connection with
'ExOLEDB.DataSource'.

If anybody really worked on it please solve this problem.

Thanks and Regards
Viral
 
M

Moni Thomas

Hi Viral,

I am experiecing the same problem when trying to access the IMailbox
interface.. I get Path not found as error message.
If you have any answers to this, please respond.

My code snippet is

Set Person = CreateObject("CDO.Person")
strURL = "mailto:" & email
Person.DataSource.Open strURL
Set Mailbox = Person.GetInterface("IMailbox")

Thanks in advance.

Regards,
Moni
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top