We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Which is best tool for Converting .eml files into MBOX format?

I have to convert my 5000 .eml files into MBOX format. I have searched many tools for converting it but they are not converting my all .eml files into MBOX format there are not only 5000 but they are lot more if I will use that tool then they will take a lot of time to convert. If anyone can know about to convert lots of EML files at once then tell me soon, please.

John Carlos


Thank you for contacting Aspose Support.

Please use the code snippet given below to add EML files to MBOX format.

MboxrdStorageWriter mbox = new MboxrdStorageWriter(MBOX_File_Path, true);
string[] files = Directory.GetFiles(EML_Files_Directory_Path;
foreach (string file in files)
    MailMessage mailMessage= MailMessage.Load(file);

Please test the code given above using the latest version of Aspose.Email for .NET API. Please feel free to contact us if additional information is required.