-USEFILE or -UF is an universal parameter that allows to specify a text file that contains command parameters instead of typing parameters into command line. This command greatly facilitates using command line mail utility (e.g. using -USEFILE with -TO switch instead of providing large list of comma separated email addresses, or also, using -USEFILE with -TEXT switch that allows to send pre-formatted or automatically generated text files preserving line feeds, tabs etc.).
febootimail -TO -USEFILE addresses.txtfebootimail -TO -UF to.txt -SUBJ -UF subj.txt -MSG -UF msg.txt-USEFILE switch can be used after any command that requires specifying value (variable). In this case, value of variable is taken from the specified file not from command line.
C:\>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 file when using DOS command line mail by using USEFILE or UF paramWhen using batch files, -USEFILE becomes even more powerful feature that allows to use both dynamic and static text files to specify command line mail sending process. For batch file examples check out command line mail FAQ page.
Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.