Convert Mail files With Total Mail Converter ProX and Perl

Please, download and install Total Mail Converter ProX. Using the sample code below you will be able to convert Mail to PDF, DOC, TXT, etc.

 

  Example Perl:

use Win32::OLE;

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

my $c = CreateObject Win32::OLE 'MailConverterPro.MailConverterX';
$c->convert($src,$dest, "-c TIFF  -log c:\\test\\Mail.log");
print $c->ErrorMessage if -e $dest;
If you need examples on other languages please contact us. We will create any example specially for you.