Results 1 to 5 of 5

Thread: Problems w/Opening Lotus Notes to Send an Email

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jan 2001
    Location
    Chicago
    Posts
    40

    Question Problems w/Opening Lotus Notes to Send an Email

    I am using the code below to send an email through Lotus Notes. I am having a problem with opening Notes on a particular PC. In most cases, when executing the Set Session = CreateObject("Notes.NotesSession") line without Notes open, it returns an Err of 429 which I can handle no problem. On this particular PC, the Set Session = CreateObject("Notes.NotesSession") line opens Notes up without Err 429 and stays on that line of code because it's waiting for the password to be opened. I have code to enter the password, but it never gets there. I keep getting a Component Request Pending msgbox before it will continue. I tried using app.OLEServerBusyTimeout and app.OLEServerBusyRaiseError but didn't seem to work.

    Why does Set Session = CreateObject("Notes.NotesSession") work on some PC's? How do I get around this, the code will not continue with this pending ActiveX.

    CODE:
    SessionCreated = True
    Set Session = CreateObject("Notes.NotesSession")
    If SessionCreated Then
    EnterPassword
    End If
    Set Database = Session.GetDatabase("", "")
    ServerDown:
    Call Database.OPENMAIL
    Set Doc = Database.CreateDocument
    Last edited by OhYeahLach; Jun 18th, 2001 at 10:25 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width