USEFILE (or UF) is a universal argument that allows you to specify a text file that contains command parameters instead of typing parameters into the command line. This command adds a great flexibility to the febootimail utility.
For example, use TO with the USEFILE argument instead of providing a large list of comma separated email recipients. Also, using TEXT with the USEFILE argument allows to send preformatted text files preserving spacing, tabs, new lines, line feeds etc.
Command syntax
- febootimail -TO -USEFILE recipients.txt
- febootimail -TO -UF to.txt -SUBJ -UF subj.txt -TEXT -UF email.txt
USEFILE argument can be used after any command that requires specifying a value. In this case, a value of the variable is taken from the specified file, not from the command line:
febootimail -SERVER -UF server.txt -FROM -UF from.txt -TO -UF recipients.txt -SUBJ -USEFILE subj.txt -TEXT -USEFILE message.txt -COMMENT Substitute every parameter with text files
When using batch files, USEFILE becomes an even more powerful feature that allows to use both dynamic and static text files.
Related commands
Quick look
- Quick start · start sending the CMD email in minutes
- Tips & Tricks · a few quick email tricks
- Email attachments · use simple wildcards or advanced file masks to attach multiple files
- Debug email client-server connection · use DEBUG and advanced DEBUGX commands
- Batch file & errorlevels · errorlevel values can be used in conditional processing
- Command Line Email parameters · see all email commands
Need help?
If you have any questions, please do not hesitate to contact our support team.