Wildcard e-mail attachments [EDI 4.2]

E-mail parameters on the EC Gateway Process dialog box in Windows include an Other Options field, which allows you to include e-mail attachments. In versions of EC Gateway earlier than 4.2, you had to explicitly identify each file to include as an e-mail attachment with a separate –attach command for each binary file, and a separate –attacht command for each text file. You can now use wildcards to attach multiple files.

To attach multiple binary files enter:

–attach path/filename

For example, to attach all binary executables in the attachments directory that start with the letter “a”, enter:

–attach c:\attachments\a*.exe

This example attaches all tar files in the attachments directory:

–attach c:\attachments\*.tar

To attach multiple text files, enter:

–attacht path/filename

This example attaches all text files in the attachments directory:

–attacht c:\attachments\*.txt

NoteThe UNIX version of wsproces can functionally process the –uuencode or –mime options with file names containing asterisks into multiple file names to be attached to an e-mail message.