How to connect (using VBA) to a IBM Notes webmail server

Hi,

How do I connect to a IBM Notes webmail server?  I have tried using

    Set ntDatabase = ntSession.GETDATABASE("http://ssdcn20040.ced.corp.MyCompanyName.com", "mailindbs/TechniTimesh.nsf/iNotes/Welcome/?")

substituting MyCompanyName for the correct name with no luck.

It doesn't fail, it simply connects me to my client version.

Sorry if my terminology is a little vague.
adb11aAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

larsberntropCommented:
You are trying to connect two separate domains.  While in the Domino server backend, the two ends meet in the same Notes database, the web interface is published using the HTTP(S) protocol, and the native Notes interface (which I gather from your example you are trying to instantiate) uses the Notes RPC protocol.

You cannot open a database with the http protocol with the native objects.

You will need to specify the domino server with its FQDN: e.g. mailserver.companyname.com
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
adb11aAuthor Commented:
Thanks for the reply lasrberntrop.

We will no longer using the webmail option for this project and therefore don't need a solution however for future projects can you please provide some more information.

For example what is FQDN and how is it used?

Do you have some sample code?

I want to give you an 'A' and this will help (not that I don't appreciate you replying already).
0
larsberntropCommented:
fqdn = a fully qualified domain name like www.google.com for the webserver at google.com which is the server for HTTP.

The smtp server's address is smtp.google,com.

Try reading the Administrator manual for Domino.  this will explain a lot.  I have no sample code for VBA available.  But a little googling around should provide you with plenty.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.