By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,086 Members | 1,919 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,086 IT Pros & Developers. It's quick & easy.

Outlook Automation

P: 1
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 GetMessagesInFolder(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(ByVal 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 ??
Oct 2 '09 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.