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?
 
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.