CoolUtils Logo

Convert MSG and EML Files Via Command Line With Total Mail Converter

Usage: MailConverter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.
By the way You can use macros in the Destination path
  •  <DATE[:format]> - current date, default format is yyyymmdd
  •  <TIME[:format]> - current time, default format hhmmss

For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20100315_1058

Options:

  • -log <FileName> - Don`t show errors. Write them to the log file
  • -list - File with files mask to convert
  • -Recurse - Include subfolders
  • -do - Delete originals
  • -kfs - Keep Folder Structure
  • -c - Destination file format
    • html - convert to HTML file
    • txt - convert to plain Text file
    • pdf - convert to Adobe PDF file
    • doc - convert to Microsoft Word file
    • rtf - convert to Rich Text file
    • tif - convert to TIFF image format
  • -template - Destination file name template
    • [name] - source file name

  • -sender - Export "sender" field
  • -rcpt - Export "Recepient" field
  • -cc - Export "CC" field
  • -date - Export "date" field
  • -subject - Export "subject" field
  • -body - Export mail body
  • -attach - Export attachments
  • -images - Include attached images into document
  • -msg - Convert attached e-mail messages
  • -smsg - Put attached e-mail messages into separate document (work with -msg)
  • -sattach - Put attachments into separate folder (work with -attach)
  • -uattach - Unpack zipped atachments (work with -attach)
  • -all - Combination of -sender -rcpt -cc -date -subject -body -attach -sattach -msg
  • -utc - Show date in UTC
  • -ei - <filename> - file with attachment icons. File format:
    extension=path to image (32x32)
  • -css - <filename> - Use external CSS file
  • -dinet - Disable access to Internet (do not load images from INet)
  • -pc - PDF file compression
    • Fastest - Fastest compression
    • Normal - Normal compression
    • Max - Max compression
  • -mp - PDF master (owner) password
  • -up - PDF user password
  • -TM - Top Margin (inches)
  • -LM - Left Margin (inches)
  • -BM - Bottom Margin (inches)
  • -RM - Right Margin (inches)
  • -po - Paper Orientation
    • Portrait - Portrait
    • Landscape - Landscape
  • -ps - PaperSize
    • Letter - Letter
    • LetterSmall - Letter Small
    • Tabloid - Tabloid
    • Ledger - Ledger
    • Legal - Legal
    • Statement - Statement
    • Executive - Executive
    • Folio - Folio
    • A3 - A3
    • A4 - A4
    • A4Small - A4Small
    • A5 - A5
    • B4 - B4
    • B5 - B5
    • Quarto - Quarto
    • EnvC5 - Envelope C5
    • EnvC3 - Envelope C3
    • EnvC4 - Envelope C4
    • EnvC6 - Envelope C6
    • EnvB4 - Envelope B4
    • EnvB5 - Envelope B5
    • EnvB6 - Envelope B6
    • EnvMonarch - Envelope Monarch
    • Custom - Custom, you need to set paper dimensions
    • Auto - The size of the document will be calculated automatically
  • -pd - Custom paper size dimensions in mm <width>x<height>
  • -perm - user permissions
    • Copy - allow copy
    • Modify - allow modify
    • Print - allow print
    • Annotation - allow annotation
    • FormFill - allow form fill
    • Accessibility - allow accessibility
    • DocAssembly - allow document assembly
    • HighResPrint - allow high resolution print
  • -tc - TIFF Image Compression
    • 0 - uncompressed TIFF
    • 1 - LZW compression
    • 2 - RLE compression (packbits)
    • 3 - JPEG compression
    • 4 - Bilevel Huffman compression (CCITT1D)
    • 5 - Bilevel Group 3 CCITT compression, monodimensional (G3FAX1D)
    • 6 - Bilevel Group 3 CCITT compression, bidimensional (G3FAX2D)
    • 7 - Bilevel Group 4 CCITT compression, bidimensional (G4FAX)

Examples:

  • MailConverter.exe C:\Mail\*.msg C:\Dest\-c html -sender -subject -attach
    Convert all messages from C:\Mail to html format, include sender and subject and extract all attachments
Site Map  |  Contacts |  Press Center | About |    Copyright © 1998-2010 CoolUtils Development. All rights reserved.