Home Site Map FAQ Products Download Sales File Library File Library File Resin's File support allows several URL schemes beyond the usual filesystem. Scripts can use the File object to send mail and to retrieve HTTP documents. The virtual filesystem lets scripts use the familiar file and stream APIs to send and retrieve internet resources. Script writers can avoid learning new APIs for each new resource type. Retrieves HTTP resources from the web.
All file paths use forward slashes to separate path segments, independent of operating system.
Resin will translate the path to the local filesystem path. Just separate them by commas. It also lets script set mail headers by setting query variables. Certain mail headers are protected, e.g. Sender and Date . Scripts use a normal write stream to send the message body.