Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 537
  • Last Modified:

How to open an Outlook mail message with fields filled in using Visual Studio 2008 and C #

Hi,

I am building a website in VS 2008 and using C # as the code behind language.

I need to open the users Outlook mail message, populate certain fields and fill the email body using a template.

I tried adding the Outlook references to website by googling it and ended up with the following following runtime error:
"Could not load file or assembly 'Microsoft.Office.Tools.Common' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."            

Could someone explain to me the steps involved in opening MS Outlook up and filling up the fields.

Thanks

NS
0
fantasylan
Asked:
fantasylan
  • 2
  • 2
1 Solution
 
Grant SpiteriSenior consultantCommented:
0
 
fantasylanAuthor Commented:
gspiteri,

My need is the opposite. I need to open an outlook message and send it rather  than retrieve data from it.

Regards
0
 
fantasylanAuthor Commented:
I already found that article and the problem with it is that is probably intended for framework 2.0 . VS 2008 has Microsoft Outlook 11.0 Object Library instead of version 9.0, so that solution doesnt show up with intellisense.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now