{ "email": { "type": "email", "enabled": true, "server": { "to": [ "{{submitter.Email}}" ], "cc": [ "{{submitter.Email}}" ], "bcc": [ "support@expedata.net" ], "from": "naturalForms@expedata.net", "subjectTemplate": "naturalForms Submission: {{document.name}}_{{document.number}}", "bodyTemplate": "<html><body><p>Attached is the document you {{#document.isResubmit}}re{{/document.isResubmit}}submitted.<p><br/> Document: <ul><li>Template: {{template.name}}</li><li>Name: {{document.name}}</li><li>Number: {{document.number}}</li><li>Date/Time: {{output.timestamp}}</li></ul><br/><p><strong>** Please do not reply to this message</strong></p></body></html>", "formatHtml": true }, "files": [ { "type": "attachment", "enabled": false, "filenameTemplate": "{{attachment.name}}{{#attachment.isImage}}_{{attachment.width}}_{{attachment.height}}{{#attachment.isAnnotated}}_annotated{{/attachment.isAnnotated}}{{/attachment.isImage}}", "settings": { "photo": [ { "maxSize": "100%", "annotate": true } ] } }, { "type": "pdf", "enabled": true, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "csv", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "xml", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "json", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "zip", "files": [ { "type": "xml", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "json", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "csv", "enabled": true, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "pdf", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "attachment", "enabled": true, "filenameTemplate": "{{attachment.name}}{{#attachment.isImage}}_{{attachment.width}}_{{attachment.height}}{{#attachment.isAnnotated}}_annotated{{/attachment.isAnnotated}}{{/attachment.isImage}}", "settings": { "photo": [ { "maxSize": "100%", "annotate": true } ] } } ], "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "enabled": true } ] }, "ftp": { "type": "ftp", "enabled": "false", "server": { "address": "ftp.expedata.net", "virtualDirTemplate": "/", "username": "admin", "password": "password", "passive": "false" }, "files": [ { "type": "attachment", "enabled": false, "filenameTemplate": "{{attachment.name}}{{#attachment.isImage}}_{{attachment.width}}_{{attachment.height}}{{#attachment.isAnnotated}}_annotated{{/attachment.isAnnotated}}{{/attachment.isImage}}", "settings": { "photo": [ { "maxSize": "100%", "annotate": true } ] } }, { "type": "pdf", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "csv", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "xml", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "json", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}" }, { "type": "zip", "enabled": false, "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "files": [ { "type": "xml", "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "enabled": false }, { "type": "json", "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "enabled": false }, { "type": "csv", "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "enabled": false }, { "type": "pdf", "filenameTemplate": "{{document.name}}_{{document.number}}_{{output.timestampFileFormat}}", "enabled": false }, { "type": "attachment", "filenameTemplate": "{{attachment.name}}{{#attachment.isImage}}_{{attachment.width}}_{{attachment.height}}{{#attachment.isAnnotated}}_annotated{{/attachment.isAnnotated}}{{/attachment.isImage}}", "enabled": false, "settings": { "photo": [ { "maxSize": "100%", "annotate": true } ] } } ] } ] } }