-TEXT (or -BODY or -MSG or -MESSAGE) paramter allows to specify the text of the email message. Since textual part of email messages seldom contains only one line, it is likely that -TEXT parameter will be often supplemented by -USEFILE, that provides possibility to use plain text file as message text. Alternatively, -ENTER command can be used to split text into multiple lines.
febootimail -TEXT "This is email text"
febootimail -BODY -USEFILE "email-body.txt"
febootimail -TEXT Hello! -TEXT -USEFILE message.txt -TEXT Best regards!
When using -USEFILE parameter, message text may be preformatted in your favorite text editor application, saved as plain text file and then sent through command line email without loosing the formatting (i.e., line feeds, tab stops etc.).
-TEXT command can be used many times, each adding sequentially its own text to message. Example given below shows how to send email, combining header and footer with message text itself, so that there is no need to provide header and footer information each time.
C:\>febootimail -SERVER smtp.server.com -FROM firstname.lastname@example.org -TO email@example.com -TEXT -USEFILE header.txt -TEXT Sending an email with predefined greeting and signature -TEXT -USEFILE footer.txt
TEXT specifies alternate text, if used together with an HTMLFILE parameter. Alternate text is used for email clients, that are unable to display HTML email.
If you have any questions, please do not hesitate to contact our support team.