Skip to content

send-email

Send a file securely to an email address.

Syntax:

shell
sfiler [options] send-email [Command options] <filename>
Command OptionsRequired/OptionalDescription
-rRequiredComma separated list of email addresses to which the files will be sent.
-tcOptionalTime to live count. Set to determine how many times the file can be download. Default: 0
-tdOptionalSet an absolute expiration date. After this date, the file cannot be downloaded, it will be deleted. (ex: 2011-12-31)
-thOptionalSet a relative expiration date. The hours file will expire in X hours from now. (ex: 2)
-wpOptionalPassword to protect the files. You must communicate this password to recipients so they can download the files.
-xOptionalMessage to be appended to the email notice.

note

If path not included in filename, Current path will be assumed.

Example:

shell
sfiler.exe -l "my-user" -p "my-password" -s https://www.sfiler.com/sfiler/server/ send-email -r "msmith@mycompany.com,jjohnson@thatbusiness.com" -wp "d7$hp#1" -x "the file you have requested, I will tell you the password by phone" "my-file.txt"