Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sending Notes Mail from VBA

Status
Not open for further replies.

mveera

Programmer
Nov 6, 2002
81
US
Hi,

I am Lotus Domino objects to send mail from VBA thru' Notes. I am successfull in sending mails if i have a Lotus Client installed on my local machine.

Is it possible to open a Lotus Session in a different machine which is accessible from the m/c where the VBA application is executed.

Also how can i set the password for the Lotus session without promting the user to enter the password?

Thanks
Veera
 
mveera,

Given the limited information you provided I will make the assumption that you are dealing with client systems and application.

I don't think you can remotely send files using anothers Notes app. Running the app on another machine to send a file I don't believe is feasible. Sure someone can correct me on that.

However, if the workstation has Win NT, Windows 2000, or XP, then ODDS ARE they have CDONTS or CDOSYS installed. If so, you can use them to create emails and attach files.

For some additional information on CDONTS and CDOSYS please visit the following thread on this site.
thread329-479063 this helps.

DougCranston
 
Hi Doug,

The client m/c will have win 2000 installed.
I tried the code which u had given in the other thread and it gve me the following error
...The transport failed to connect to the server

The reason is it is not able to connect to the Mail Server.

I think i need to get the SMTP server and port for our mail server.

The requirement for me is that, i have to send a mail from a client m/c which doesn't have any Mail Clients or Servers. it has Internet Connection.

To achieve this the only option is to use CDO, but i need SMTP Server info. I will try sending mails after updating the SMTP details.

Thanks
Veera
 
mveera,

Assuming you have CDONTS or CDOSYS on the clients, all you need to do is ensure you have the SMTP info. Use it all the time.

One caution. Are your users all behind a firewall or more importantly will they all be able to use the same SMTP mailserver to route their traffic through?

If not you might have to do alittle more to work around that.. Hope that isn't the case.

Luck, and hope we were able to help some.

DougCranston
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top