Results 1 to 2 of 2

Thread: CDO Exchange 2000

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80
    Hi I'm trying to write an app that will logon to Exchange 2000. Go to a specified user's Calendar folder, read the current day's apointment subject and text properties and then mail them to an email address.

    The problem that I am running into is I'm getting a permission error (You do not have permission to logon) in the following line:

    Code:
    Set oCalendarFolder = oSession.GetDefaultFolder(CdoDefaultFolderCalendar)
    My session login looks like this:
    Code:
    oSession.Logon ProfileInfo:="PROXY" & vbLf & "Jack Vinitsky"
    The app works only if I or the user who's name is specified in the mailbox logs on to the network. If someone else logs on to the network or if I change the mailbox name to someone else's, then I get the error I stated previously. I've added the correct profile password (network password) to the above line and I still get the same error.

    I was hoping to hardcode the passwords in the program and then pass the mailbox name in a command line arguement. Thus the program could be scheduled to run on its own.

    Any insight would be greatly appreciated.

    Jack


  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    80

    One more thing

    The app is running on a Win2K Pro machine and we have the Win2k Server and Active Directory running on the Exchange machine.

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