Link to home
Create AccountLog in
Avatar of rajathi_franco
rajathi_francoFlag for United States of America

asked on

Create eml file programmatically

Is it possible to create an .eml file[or .msg file] programmatically using 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?
Avatar of Meir Rivkin
Meir Rivkin
Flag of Israel image

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
Avatar of rajathi_franco


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?
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Are you saying that you want your application to create a message using Outlook at the client's computer?
I've requested that this question be deleted for the following reason: