Logo
arrow1 File Converters
arrow1 TIFF and PDF apps
arrow1 Forensic
arrow1 Freeware

Total Mail Converter X

Convert Emails through web-servers

Server Mail Converter With ActiveX

Windows
2000/2003/Vista/7/8/10/11
and
2012/2016/2019/2022 Server
and
Docker/Citrix/Wine

Total Mail ConverterX is an easy-to-use tool to convert emails (.msg, .eml) to PDF, TXT, HTM, RTF, DOC files on Windows web-servers. This is the easiest way to archive your business emails you may need to open in future. Total Mail ConverterX supports a wide range of target formats (DOC, RTF, PDF, XPS, HTML, XHTML, TXT, TIFF, JPEG, EML, MSG, PST). Total Mail ConverterX runs silently on your server - no user interface, no additional popups, no babysitting.

Total Mail ConverterX is as powerful as the regular Total Mail Converter with GUI. You can convert as many emails as you want in one go (yes, hundreds of thousands of them) and enhance output files with new names, page counters, bates stamping, security settings, etc.

Attachments can be extracted and placed to the same or a new folder. The app can give your attached files new names so that you always know which attachment belongs to which email. The Pro version can convert attached files together with email bodies.

Total Mail ConverterX is extremely easy-to-use and doesn't require any special knowledge. You can easily implement it into your app or system using ActiveX. The price is very affordable too (one-time fee for a lifetime license, no subscriptions). Get your copy now!

Find some samples in C# specifically for ASP.net. If you need examples on other languages please contact us. We will create any example specially for you.

P.S. Take a look at Total Folder Monitor. It will watch any folder and run Total Mail Converter in case a new file arrives. Find more details here.

Download Now!

(includes 30 day FREE trial)

Buy License

(only $950.00)



Examples of Total Mail ConverterX

Convert Mail files With TotalMailConverterX and .NET

Example .NET:

string src="C:\\test\\Source.Mail";
string dest="C:\\test\\Dest.PDF";

MailConverterX Cnv = new MailConverterX();
Cnv.Convert(src, dest, "-c PDF -log c:\\test\\Mail.log");

MessageBox.Show("Convert complete!");

Download .NET Mail Covnerter example

Convert Mail Files With Docker by Total Mail ConverterX

docker run -p 5000:5000 tdhster/mailconverter-api

Convert Mail Files On Web Servers With Total Mail ConverterX

public static class Function1
    {
        [FunctionName("Function1")]
        public static async Task Run(
            [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequest req,
            ILogger log)
        {
            StringBuilder sbLogs = new StringBuilder();
            sbLogs.AppendLine("started...");
            try
            {
                ProcessStartInfo startInfo = new ProcessStartInfo();
                startInfo.CreateNoWindow = true;
                startInfo.UseShellExecute = false;
                var assemblyDirectoryPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
                assemblyDirectoryPath = assemblyDirectoryPath.Substring(0, assemblyDirectoryPath.Length - 4);

                var executablePath = $@"{assemblyDirectoryPath}\Converter\MailConverterX.exe";
                sbLogs.AppendLine(executablePath + "...");
                var msgPath = $@"{assemblyDirectoryPath}\MSG\MSG-1.msg";
                var outPath = Path.GetTempFileName() + ".pdf";
                startInfo.FileName = executablePath;

                if (File.Exists(outPath))
                {
                    File.Delete(outPath);
                }

                if (File.Exists(executablePath) && File.Exists(msgPath))
                {
                    sbLogs.AppendLine("files exists...");
                }
                else
                    sbLogs.AppendLine("EXE & MSG files NOT exists...");
                startInfo.WindowStyle = ProcessWindowStyle.Hidden;
                startInfo.Arguments = $"{msgPath} {outPath}";
                using (Process exeProcess = Process.Start(startInfo))
                {
                    sbLogs.AppendLine($"wait...{DateTime.Now.ToString()}");
                    exeProcess.WaitForExit();
                    sbLogs.AppendLine($"complete...{DateTime.Now.ToString()}");
                }

                int sleepCounter = 10;

                while(!File.Exists(outPath) && sleepCounter > 0)
                {
                    System.Threading.Thread.Sleep(1000);
                    sbLogs.AppendLine("sleep...");
                    sleepCounter--;
                }
                if (File.Exists(outPath))
                    sbLogs.AppendLine("Conversion complete successfully.");
            }
            catch (Exception ex)
            {
                sbLogs.AppendLine(ex.ToString());
            }

            return new OkObjectResult(sbLogs);
        }
    }
Some more infromation about Azure.

Convert Mail Files On Web Servers With Total Mail ConverterX

dim C
Set C=CreateObject("MailConverter.MailConverterX")
C.Convert "c:\test\source.eml", "c:\test\dest.pdf", "-cPDF -log c:\mail.log"
Response.Write C.ErrorMessage
set C = nothing
Example2 ASP: directly stream the resulting PDF
dim C
Set C=CreateObject("MailConverter.MailConverterX")
Response.Clear
Response.AddHeader "Content-Type", "binary/octet-stream"
Rresponse.AddHeader "Content-Disposition", "attachment; filename=test.pdf"
Response.BinaryWrite c.ConvertToStream("C:\www\ASP\Source.eml", "C:\www\ASP", "-cpdf  -log c:\html.log")
set C = nothing
Some more samples in C# specifically for ASP.net. If you need examples on other languages please contact us. We will create any example specially for you.

Convert MSG & EML Files On Web Servers With Total Mail ConverterX

Example PHP:
$src="C:\\test\\test.msg";
$dest="C:\\test\\test.pdf";
if (file_exists($dest)) unlink($dest);
$c= new COM("MailConverter.MailConverterX");
$c->convert($src,$dest, "-c pdf -log c:\\Mail.log");
if (file_exists($dest)) echo "OK"; else echo "fail:".$c->ErrorMessage;

Convert Mail Files With Total Mail ConverterX and Ruby

require 'win32ole'
c = WIN32OLE.new('MailConverter.MailConverterX')

src="C:\\test\\test.pdf";
dest="C:\\test\\test.tiff";

c.convert(src,dest, "-c TIFF -log c:\\test\\Mail.log");

if not File.exist?(dest)
  puts c.ErrorMessage
end

Convert Mail files With Total Mail ConverterX and Python

import win32com.client
import os.path

c = win32com.client.Dispatch("MailConverter.MailConverterX")

src="C:\\test\\test.eml";
dest="C:\\test\\test.tiff";

c.convert(src, dest, "-c TIFF -log c:\\test\\Mail.log");

if not os.path.exists(file_path):
  print(c.ErrorMessage)

Convert Mail files With Pascal and Total Mail ConverterX

uses Dialogs, Vcl.OleAuto;

var
  c: OleVariant;
begin
  c:=CreateOleObject('MailConverter.MailConverterX');
  C.Convert('c:\test\source.eml', 'c:\test\dest.tiff', '-c TIFF -log c:\test\Mail.log');
  IF c.ErrorMessage<> Then
    ShowMessage(c.ErrorMessage);
end;

Convert Mail Files On Web Servers With Total Mail ConverterX

var c = new ActiveXObject("MailConverter.MailConverterX");
c.Convert("C:\\test\\source.msg", "C:\\test\\dest.pdf", "-c PDF");
if (c.ErrorMessage!="")
  alert(c.ErrorMessage)

Convert Mail files With Total Mail ConverterX and Perl

use Win32::OLE;

my $src="C:\\test\\test.eml";
my $dest="C:\\test\\test.tiff";

my $c = CreateObject Win32::OLE 'MailConverter.MailConverterX';
$c->convert($src,$dest, "-c TIFF  -log c:\\test\\Mail.log");
print $c->ErrorMessage if -e $dest;

quote

Total Mail Converter X Customer Reviews 2024

Rate It
Rated 4.7/5 based on customer reviews
5 Star

"I work for Freeland Cooper & Foreman LLP and I am currently handling the project for which we purchased Total Mail Converter. We purchased the program for the purpose of merging large numbers of .msg files into .pst form, and so far I am very pleased with the results; it is reliable, highly functional, and easy to use."

5 Star Max Canin
www.freelandlaw.com

"We use SharePoint as a document library and access it through UNC. I use TotalMailConverterX to archive e-mail messages. I use the subject line as part of the resultant filename, but that presents a problem. SharePoint does not allow certain characters in filenames. I was wondering if there could be a command line option added to remove the unsafe characters for use in SharePoint UNC paths."

4.5 Star Shane Adam
Systems Analyst & Developer, http://eigltd.com

Update Aug 2015: Done!



Download Now!

Updated Thu, 07 Nov 2024

Buy License

(only $950.00)



Complete list of supported Mail conversions


  • MIM to PDF
  • MIM to HTML
  • MIM to XHTML
  • MIM to JPEG
  • MIM to TIFF
  • MIM to Doc
  • MIM to RTF
  • MIM to ODT
  • MIM to TXT
  • MIM to Text
  • MIM to EML
  • MIM to MSG
  • MIM to MBox
  • MIM to PST
  • MIM to XPS

Download
Pro Suite

Key Features Of Full Registered Version

    Mail converter tailored to YOUR needs.
    • If you have a special requirement
    • If you want additional options

    Contact us. We will gladly enhance our mail converter so that it fit your needs perfectly. Customization is often free to our customers.

    Success stories.

    Docker docker run -p 5000:5000 tdhster/mailconverter-api

Copyright 2003-2024 CoolUtils Development. All rights reserved.