-USEFILE (or -UF) parameter substitutes variables provided in command line with contents of the specified text file. Instead of typing long message body, or typing large list of recipients, or retyping email signature, after corresponding switches in command line, use -USEFILE parameter. This parameter can be used with any other parameter.
Example: sending email message using -USEFILE parameter.
C:\>febootimail -FROM doe@sender.com -TO -USEFILE c:\files\to.txt -BODY -UF c:\files\body.txt -BODY -UF c:\files\signature.txtPossible content of c:\files\to.txt file, which is used to specify recipients:
smith@recipient.com
dos email <cmd@dos-email.com>
cmd@dos-mail.com (dos mail)Possible content of c:\files\body.txt file, which is used to specify email message body:
Hello,
Mail message sent with Febooti Command line email client utility. This message body is taken from file, located in folder:
"c:\files\body.txt"Possible content of c:\files\signature.txt file, which is used as email sender signature:
---
John Doe,
Product Sales Manager.
Phone: 123-456-7890Note: in command line email examples above, localhost (127.0.0.1) is used as SMTP mail server. If you are not using Febooti Command line email on server and, if there is no local SMTP server, specify SMTP server using -SMTP parameter. If SMTP server authentication is required, use -AUTH, -USER and -PASS parameters.
Example: authenticate with external SMTP mail server.
C:\>febootimail -FROM david@sender.com -TO cmd@dos-mail.com -SUBJ authentication & UseFile -TEXT -USEFILE "c:\documents\e-mail.txt" -SMTP email.server.com -AUTH AUTO -USER david -PASS ********Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.