The trick is to use the available UNIX - commands :
For sending an e-mail we use the below syntax. You will need to look in a UNIX-manual however to look up all the possibilities/options of the uuencode-command.
Below example sends a file as a simple txt-file to an employee when an order he inputted is being processed by our stores.
The cMessagefile is basically a string that is being build up which represents the location of the file. The file itself can be filled with any text you wish by using the 'OUTPUT TO' and 'EXPORT' - ProgressCommands.
/* Send the file to the employee */
OS-COMMAND SILENT uuencode VALUE(cMessagefile) Message.txt|mail -s 'Registered_order' VALUE(employee.login).
/* delete the file afterwards as it is no longer required */
OS-DELETE VALUE(cMessagefile).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.