Outlook Automation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • madihamir
    New Member
    • Oct 2009
    • 1

    #1

    Outlook Automation

    Iam new to .net and have gotten assignment for make the class library to automate the outlook

    I have tried to done it but i've to make the Handlers also .
    Detecting an methods for receiving and sending things to outlook..
    and OutlookHandler has a list of outlookmessages


    for example
    I know that outlookHandler will typically have methods like the following

    Public Function GetMessagesInFo lder(ByVal sFolder As String) As List(Of OutlookMessage)
    ' Check version and get the correct automation-object
    ' Run whatever method on the automation-object to get emails from the folder specified by sFolder
    ' Convert these messages to OutlookMessage. Typically with a for loop
    End Function

    also

    Public Function SendMessages(By Val cMessages As List(Of OutlookMessage) ) As Boolean
    ' Check version and get the correct automation-object
    ' Convert cMessages to the automation-object-type for the communication with Outlook. Typically with a for loop
    ' Run whatever method on the automation-object to send the emails
    End Function

    But iam not understanding how to code it now , first i have to detect the outlook vrsion then have to done appropriate automation for that version

    could anyone have idea about it ??
Working...