This is a lightweight Windows application that converts .eml files to .msg format using MimeKit and MsgKit.
- Convert multiple
.emlfiles in bulk to.msg(Outlook) format - GUI for selecting source and destination folders
- No Outlook required β works standalone
- Built on .NET 8 with Windows Forms
- Windows 10 or later
- .NET 8 SDK (for building)
- Or use the published
.exeβ no install required!
Clone the repo and build it with Visual Studio 2022+:
-
Make sure your
.csprojtargets:<TargetFramework>net8.0-windows</TargetFramework> <UseWindowsForms>true</UseWindowsForms>
-
Add NuGet packages:
dotnet add package MimeKit --version 4.12.0 dotnet add package MsgKit --version 2.8.3
-
Build and run the project.
From the terminal:
dotnet publish -c Release -r win-x64 --self-contained true ^
/p:PublishSingleFile=true /p:IncludeAllContentForSelfExtract=true /p:PublishTrimmed=falseYour .exe will appear in:
bin\Release\net8.0-windows\win-x64\publish\
You can move/copy it freely β no install needed.
- Form1.cs // Main UI logic
- Form1.Designer.cs // Windows Forms layout
- Program.cs // Entry point
- EmlToMsg.csproj // Project file
MIT License β Β© 2024 Kevin VanConant