• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2476
  • Last Modified:

Create eml file programmatically

Is it possible to create an .eml file[or .msg file] programmatically using asp.net c#?

We need to create this email file in our .net application and fire a default mail client in client's machine with this .eml/.msg content.

Any suggestions?
1 Solution
Meir RivkinFull stack Software EngineerCommented:
here step-by-step post:
Creating an Outlook Message File with C#

and here's the .msg file format spec:
Outlook Item (.msg) File Format
rajathi_francoAuthor Commented:
Hi, Thank you for your quick response.

The given link "Creating an Outlook Message File with C#" is referring to use interop for which we need to install outlook in "server" which is not recommended for our server environment. Can you please suggest any other option?
Éric MoreauSenior .Net ConsultantCommented:
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

David LeeCommented:
Are you saying that you want your asp.net application to create a message using Outlook at the client's computer?
Kalpesh ChhatralaSoftware ConsultantCommented:
rajathi_francoAuthor Commented:
I've requested that this question be deleted for the following reason:


Featured Post

2018 Annual Membership Survey

Here at Experts Exchange, we strive to give members the best experience. Help us improve the site by taking this survey today! (Bonus: Be entered to win a great tech prize for participating!)

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