![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hi,
I have a Visual Basic application which uses REDEMPTION dll (ver 4.5.0.812). This application updates appointments and tasks, to the EXCHANGE SERVER and also sends a mail to the EXCHANGE USER, highlighting the changes to the appointment and tasks. In one PC, the application creates the appointments and tasks, but fails to send a mail to the receipient. Below is the function where the execution fails. I feel the failure happens at the GAL.RESOLVENAME command. Since, only the executable is installed in the PC where the problem occurs, i am not able to point out which statement fails. Can somebody help me, to get this issue resolved. The error message, generated by the below function is "Object variable or With block variable not set" Private Function RecipientIsValid(session As Redemption.RDOSession, RecipientUserId As String) As Boolean On Error GoTo ErrHandler Dim oMessage As RDOMail Dim oRecipient As RDORecipient Set oMessage = session.GetDefaultFolder(olFolderOutbox).Items.Add Set oRecipient = oMessage.Recipients.Add(RecipientUserId) session.AddressBook.GAL.ResolveName (RecipientUserId) CleanUp: RecipientIsValid = True Exit Function ErrHandler: If Err.Number = -2147219712 Then ' [Collaboration Data Objects - [MAPI_E_AMBIGUOUS_RECIP(80040700)]] GoTo CleanUp Else Debug.Print "RecipientIsValid" Debug.Print Err.Description End If End Function Thanks in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
IAddrBook::ResolveName() problems | Sergeichik | Add-ins for Outlook | 5 | December 11th 08 05:07 PM |
Outlook 2007 issue on Windows Vista - Exchange connection issue | NA[_2_] | Outlook - Installation | 5 | September 3rd 08 07:28 AM |
using redemption VBS | krazymike[_2_] | Outlook and VBA | 2 | May 30th 08 11:40 PM |
Redemption Issue | DG | Outlook and VBA | 1 | November 10th 07 05:31 PM |
Suspect Redemption Library Issue??? | Tom at GSD | Add-ins for Outlook | 6 | March 29th 07 09:11 PM |