| Name | SMTPit_File_Export | 
|---|
| Description | This function will export a file from a container to a specified path. SMTPit Pro will use the name of the file in the container unless you specify a name with the “SaveAs” parameter. | 
|---|
| Return Type | Text | 
|---|
| Format | SMTPit_File_Export ( Container ; Path ; SaveAs ) | 
|---|
| Required Parameters | Container The Container that contains the File you are Exporting.Path The Path to the Folder where you want the Exported File. | 
|---|
| Optional Parameters | SaveAsThe File Name you want the Exported File to have.
 | 
|---|
| Examples | Example 1Exports the file in the "Container" field to "c:\exports" on Windows. SMTPit_File_Export( Container ; "c:\exports" )
Example 2Exports the file in the "Container" field to "/exports/" on Mac. SMTPit_File_Export( Container ; "/exports/" )
Example 3Exports the file in the "Container" field to "c:\exports\newexport.txt". SMTPit_File_Export( Container ; "c:\exports" ; "newexport.txt" )
Example 4Exports the file in the "Container" field to "/exports/newexport.txt". SMTPit_File_Export( Container ; "/exports/" ; "newexport.txt" )
 | 
|---|