Clicky

Batch File Examples

Example 1

Source: Gmail - Target: PDF files

/SourceType:stiMailSrcGmail

/SourceServer:"imap.gmail.com"

/SourceServerPort:993

/SourceServerUseSSL

/SourceServerUserName:"test@domain.com"

/SourceServerPassword:"Some Password"

/SourceFolderInclude:"Root\Test"

/TargetType:stiMailTarSingleFiles

/TargetFileFormat:ffSfPdf

/TargetFolder:"d:\temp"

/TargetSubFolderStructure:sfsLikeEmailSourceFolders

Notes:

  • To select a folder we use the SourceFolderInclude parameter
  • If you want to exclude a folder or sub folder use the SourceFolderExclude
  • To avoid creating top folders like Root and to create the Test sub folder use SourceFolderDisable:"Root"


Example 2


Source: Outlook - Target: EML files

/SourceType:stiMailSrcOutlookMapi

/SourceProfileName:"Outlook"

/SourceFolderInclude:"Personal Folders\h1"

/TargetType:stiMailTarSingleFiles

/TargetFileFormat:ffSfEml

/TargetFolder:"d:\temp\EML"

/TargetSubFolderStructure:sfsLikeEmailSourceFolders

Notes:

  • To process outlook files we need a profile name
  • We also need to include folders to be processed as described in example 1
  • The /SourceAllFolders parameters selects all top folders


Example 3


Source: Gmail - Target: Exchange Server

/SourceType: stiMailSrcGmail

/SourceServer:"imap.gmail.com"

/SourceServerPort:993

/SourceServerUseSSL

/SourceServerUserName:"test@domain.com"

/SourceServerPassword:"Some Password"

/SourceFolderInclude:"Root\Test"

/TargetType:stiMailTarExchange

/pwTargetProfileName:"Outlook"

/TargetMessageStore:"John De Foe"

/TargetFolder:"\\SAAS"

/TargetSubFolderStructure:sfsLikeEmailSourceFolders

  • To export to Exchange Server we need a profile name
  • The TargetMessageStore is the name of a mailbox user
  • The TargetFolder for each user mailbox, in this case every folder will be created under SAAS. the following rules apply to select the target folder

That target folder path is relative to the root .

"Special" folders must be placed in square brackets. Examples:

"//[inbox]" opens the inbox

"//[inbox]/sales/january" opens the january folder

  • Use the parameter /TargetAdminPrivilege to access every mailbox in Exchange. The profile user must have privileged access.


Still need help? Contact Us Contact Us