How to use notes api sample to send Domino mail to different location document?

I compiled a sample in the notes.ini fro sending sample email to Domino server via the notes api calls. This works after it asks for my password. Now this used my current locations document that I was logged in and using in my notes client last. How can I use a different location document and different user.id to connect to?

I do not have the code in front of me but it was a Domino mail sending sample that came with notes api. I was going to start looking into different connection and using different notes.id as my next steps. I may not have to use a location document per say, it could be just this or that server and to use the appropriate user.id so that the connection can be made properly.

Thank you

Subject: I think I have it.

Okay, so what I am thinking now that I had a chance and go back and look at the sample is that I just needed to know which server to connect to in order to try and deposit a memo into the mail.box. Where the user.id and locations come in is that if I were to try and access a user’s mail box I may then need to use some security functions and use user.id then. But I am thinking this is not necessary for me to just to deposit mail in a couple different Domino servers in different domains.

When I get the chance tomorrow I will look into this and try sending the same message more than once and to two different Domino servers to see if this works.