automate outlook with vb.net

  • Thread starter Thread starter afsheen
  • Start date Start date
A

afsheen

Hi

iam trying to write a dll in vb.net which automatically traps an incoming
email from outook and reads and parses the message. After doing that it
takes some information from the message and populates the sql server
database.this dll should work for a generic mapi setting and code should be
portable to other machines .... can somone help how to start with this.

thanks
 
I iam trying to write a dll in vb.net which automatically traps an incoming
email from outook and reads and parses the message. After doing that it
takes some information from the message and populates the sql server
database.this dll should work for a generic mapi setting and code should be
portable to other machines .... can somone help how to start with this.
http://www.microeye.com/resources/res_outlookvsnet.htm

http://msdn.microsoft.com/library/d...html/frlrfsystemwebmailsmtpmailclasstopic.asp

http://msdn.microsoft.com/library/d.../cdosys/html/_cdosys_schema_configuration.asp

http://msdn.microsoft.com/library/d...y/en-us/exchanchor/htms/msexchsvr_cdo_top.asp
 
afsheen,
What do you mean by "should work for a generic mapi setting"?

You can use the fully supported Outlook object model with VB.NET, however
you will be tied to Outlook.

http://www.microeye.com/resources/res_outlookvsnet.htm

You could use the CDO 1.2.1 object model with VB.NET, which is not
supported, however I have had success with it.

http://www.microeye.com/resources/res_outlookvsnet.htm

Also is this with Exchange Server accounts or stand alone Outlook
installations? With Exchange Server I would consider a server side rule that
calls into a VB.NET "COM" component, rather the a VB.NET component that
calls into Exchange Server...

Hope this helps
Jay
 
Thank you Jay for your reply
could you please explain how do the implement the following as suggested
by you, the server is exchange


With Exchange Server I would consider a server side rule that
calls into a VB.NET "COM" component, rather the a VB.NET component that
calls into Exchange Server...

thanks
afsheen
 
afsheen,
Which part do you want help with?

a) Writing a VB.NET "COM" component
b) Using a server side rule
c) Using a "COM" component from a server side rule
d) all of the above

Hope this helps
Jay
 
Back
Top