Use this script with ReliefJet to pull attachments from Outlook.
[shell]DEL /F /Q “C:\Tasks\ReliefJet Essentials\Work\Production\interfax\*.*”
“C:\Program Files (x86)\ReliefJet Essentials\ExecutorCli.exe” /p IgnoreErrors=True /p Profie=Outlook /u OutlookItemsExportMSG For=”\\test@test.com\Faxes\Interfax” TargetDir=”C:\Tasks\ReliefJet Essentials\Work\Production\interfax” Mode=Rename Messages=True MoveTo=”\\serviceadmin@ontellus.com\{DELETED}”
“C:\Program Files (x86)\ReliefJet Essentials\ExecutorCli.exe” /u OutlookSaveAttachmentsMSG SourceDir=”C:\Tasks\ReliefJet Essentials\Work\Production\interfax” TargetDir=”F:\Public\” Mask=*.pdf;*.tiff Mode=Rename Messages=True
“C:\Program Files (x86)\ReliefJet Essentials\ExecutorCli.exe” /u OutlookFolderDeleteSubfolders Profile=Outlook For=\\test@test{DDBF}\{DELETED}* IgnoreErrors=True Permanent=True
DEL /F /Q “C:\Tasks\ReliefJet Essentials\Work\Production\interfax\*.*”[/shell]