我使用Lotus筆記在ASP.NET和C#Web應用程序中發送電子郵件。它在調試模式下發送電子郵件,但如果我在本地IIS服務器上發佈,它不會發送任何電子郵件。Lotus筆記以調試模式發送電子郵件
Domino.NotesSession oNotesSession = null; ;
Domino.NotesDatabase oNotesDatabase = null;
Domino.NotesDocument oNotesDocument = null;
Domino.NotesDocument oNotesDocumentForOther = null;
object oItemValue = null;
bool flag = false;
try
{
String UserName = "";
try
{
oNotesSession = new Domino.NotesSession();
}
}
我得到以下錯誤在上面一行
{System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e.
如果可能,請分享更多信息和一些代碼。 –
我已添加代碼片段 – Somashekhar
您的IIS服務器是否安裝了Lotus Notes? –