Sending an e-mail with C# through Lotus Notes - lotus-notes-programmer
This is a discussion on Sending an e-mail with C# through Lotus Notes - lotus-notes-programmer ; Hi, I already have done this with in an excel macro. But now I'm changing the interface and I'm using C#. In the macro I was doing this to get an instance of NotesSession Set Session = CreateObject("Notes.NotesSession") I try ...
![]() |
| | LinkBack | Thread Tools | Display Modes |
|
#1
| |||
| |||
| I already have done this with in an excel macro. But now I'm changing the interface and I'm using C#. In the macro I was doing this to get an instance of NotesSession Set Session = CreateObject("Notes.NotesSession") I try this for the C# lotus.NOTESSESION session = new lotus.NOTESSESSION(); I can't do that since the class is abstract. There is a function call NEW(), but how can I call it because I cannot do: lotus.NOTESSESSION session = lotus.NOTESSESSION.NEW(); Any idea? Thanks |
|
#2
| |||
| |||
|
Hi, Firstly you must add a reference to Lotus Domino Objects COM component. Then you can create your session as Domino.NotesSession session=new Domino.NotesSession(); after that you must inititialize session session.Initialize("password"); bye Ftardif@sorrentolactalis.com (Frank) wrote in message news: > Hi, > > I already have done this with in an excel macro. But now I'm changing > the interface and I'm using C#. > > In the macro I was doing this to get an instance of NotesSession > > Set Session = CreateObject("Notes.NotesSession") > > I try this for the C# > lotus.NOTESSESION session = new lotus.NOTESSESSION(); > I can't do that since the class is abstract. > > There is a function call NEW(), but how can I call it because I cannot > do: > lotus.NOTESSESSION session = lotus.NOTESSESSION.NEW(); > > Any idea? > > Thanks |
|
#3
| |||
| |||
|
hi, i've followed the same steps in order to create a NotesSession and it compiles right, but when executed i get the following exception: "Error al recuperar un generador de clases COM para el componente con CLSID {29131539-2EED-1069-BF5D-00DD011186B7} debido al siguiente error: 8007000e." and that exception is exactly trhown at "Domino.NotesSessionClass a = new Domino.NotesSessionClass();" ![]() have i missed somenthing? i've included the reference to Domino.dll. Anyone could help me please? Thank U anyway for reading me ![]() Charo |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Today's News: Lotus Notes Mail Archiving Tips | Database Administrator | lotus-notes-admin | 0 | 07-07-2004 06:37 PM |
| Today's News: Notes and Domino 7.0 Beta 1 | Database Administrator | lotus-notes-programmer | 0 | 05-01-2004 04:07 PM |
| IBM Lotus Pushes Exchange to Notes Migrations | Database Administrator | lotus-notes-programmer | 0 | 04-03-2004 04:42 PM |
| Today's News: Lotus Notes and Domino 6.5 demo | Database Administrator | lotus-notes-programmer | 0 | 03-03-2004 01:51 AM |
| Today's News: Lotus Notes named PC Mag Editor's Choice | Database Administrator | lotus-notes-programmer | 1 | 02-20-2004 03:46 PM |
All times are GMT -4. The time now is 09:18 PM.






Linear Mode
