Lotus notes doesn’t send emails when published in local IIS server

Asked By 50 points N/A Posted on -
qa-featured

Hi all,

I use Lotus notes to send emails in my ASP.NET and C# web application.

It sends emails when it’s in debug mode.

However, if I publish in my local IIS server, it does not send any emails.

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 ();
    }
}

I get the error in the above line:

{System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e.

I am really confused.

Can anyone help me out?

SHARE
Answered By 10 points N/A #142093

Lotus notes doesn’t send emails when published in local IIS server

qa-featured

Hello Sophie,

It seems like there is a problem with the Lotus Notes COM DLLs or notes.ini files. It seems like they are not available to the account under that is being run by IIS. You will therefore need to change your IIS application pool so that it can be able to run under your account, which should be the same account you use to access Lotus Notes/

Another workaround to that  in the event that you are  just sending emails, will be to check if there is a chance that could allow you to take the Lotus Notes client out of the picture entirely as well as send via SMTP to the Lotus Notes server, or any other SMTP server in your domain.

Regards,

Carl

 

Related Questions