PDA

View Full Version : Send Mail For Lotus Notes



mattster1010
06-24-2008, 02:30 AM
Morning All,

Can anyone help me with the VBA code to send email via lotus notes. I can find lots of example's to send email via Outlook but nothing for lotus notes.

Any help would be appriecated.

Cheers,

Mattster

Oorang
06-24-2008, 06:16 AM
I don't have Notes set up to mail on this PC so I can only direct you to some resources:

http://www-1.ibm.com/support/docview.wss?uid=swg21178583
http://www.fabalou.com/VBandVBA/lotusnotesmail.asp
http://www.forumtopics.com/busobj/viewtopic.php?t=26805

mattster1010
06-24-2008, 08:19 AM
Hi Oorang,

I have used the following link to create the send mail code in Access 2000:

http://www-1.ibm.com/support/docview.wss?uid=swg21178583

When running the code on an on click event, I get the following error message:

Run-time error 2147217504 - Could not open the ID file.

I guess this is referencing the notes.ini file, I have also tried to manually specify the password used to open lotus notes, also referenced in the same code example.

Does anyone know how I might be able to solve this?

Regards,

Mattster

Oorang
06-24-2008, 09:28 AM
Could be a couple of reasons. Was the notes file already in use? Is located on a directory you have access to? Is it your notes file? (Remember nsf files, unlike pst files, can be limited to a user.)