Problem in Synchronization with outlook to Nav

lakshmanlakshman Member Posts: 44
Hi All,

I am using the following automation servers

'Microsoft Outlook 12.0 Object Library'.Application
'Microsoft Outlook 12.0 Object Library'.NameSpace
'Microsoft Outlook 12.0 Object Library'.Items
'Microsoft Outlook 12.0 Object Library'.MAPIFolder
'Microsoft Outlook 12.0 Object Library'.MailItem

and wrote the code for synchronization with outlook to Nav. DataBase. But here i get all the InBox mails and SentItems mails based on the contact E-mail address. My problem is in SentItems i get the mails basedon CC. How to get the TO address E-Mail IDs. I will try to get the TO Address it shows the error like

A field from a record variable was expected. For Example
Record.Field
Cutomer.Name.

](*,)
Best Regards,
Lakshman Routu
http://lakshman-routu.blogspot.in/

Comments

  • lakshmanlakshman Member Posts: 44
    Hi All,
    I solved my problem. I am using like autOLMItem.To so it show the above error Record.Field. whenever we want to get autOLMItem.To means write like this autOLMItem."To"
    otherwise it show the error. But we want autOLMItem.CC or autOLMItem.BCC means no need to write double quotes.




    Thanks & Regards,
    naidu. \:D/
    Best Regards,
    Lakshman Routu
    http://lakshman-routu.blogspot.in/
Sign In or Register to comment.