Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Multiple files zipping

Author: Antony Corsten Reference Number: AA-00516 Views: 3706 Last Updated: 04/07/2010 10:49 AM 0 Rating/ Voters
This feature allows to zip several files in 1 package before sending.
This is useful when you send many files.
Syntax:
generate_zip = variable_name; list of files
variable_name - this variable will contain path to generated file. You can use it in Attachment header of email template to send file via email.
list of files - comma separated list of paths to files you want to pack.
Example:
generate_zip = variable_name; {#user_file1#}, {#user_file2#}, ./attachments/name.txt, {#%FORMFILE_PDF#}
This will pack files from file fields {#user_file1#}, {#user_file2#}, file stored on server ./attachments/name.txt and generated pdf file {#%FORMFILE_PDF#} in 1 package that you can then send in email using:
Attachment: {#variable_name#} in email headers.