complete list of Febooti Command line email parameters

Febooti Command line email online help is a collection of articles on various aspects of using, integrating and troubleshooting Command line email. The topics are split in categories and covers different issues, starting from the very basics of creating batch files and moving forward to growing complexity of using advanced scripting techniques.

Command line email supports many commands which allow great flexibility on how to send email. In most cases you will require a few simple commands: FROM, TO, TEXT, SUBJ, ATTACH, SMTP, AUTH (+ USER and PASS) and optionally SSL.

C:\>febootimail -FROM john.green@sender.com -TO ted@recipient.com -TEXT Sending very simple SSL email from DOS with Word attachment -SUBJ DOS SSL mail / with attachment -ATTACH c:\files\summary.doc -SMTP smtp.example.com -AUTH AUTO -USER john -PASS jg#465@2 -SSL

When sending email from command line, all commands / parameters can be used in any order. It is totally up to you on how to organize command sequence.

Full list of Febooti Command line email Commands. List of batch files and examples.

Send command line email from PHP scriptSend command line email from ASP scriptSend command line email from MS FoxPro scriptSend command line email from MS Excel VBA macroSend command line email from MS Word VBA macroSend command line email from MS Access VBA macro
Email from PHP, ASP and FoxPro
Email from MS Excel, Word and Access

Due to various integration options (ASP, PHP, VBA, command line, Scheduled tasks etc.) Febooti Command line email utility brings an ultimate potential to send email with various kinds of applications.

List of all Febooti Command line email commands with brief description. Click on each Command for more detailed description and example(s) on how to to use this command with Febooti Command line email.

CommandDescription
-SMTP
-SERVER
Specifies SMTP server IP address or name. If not specified, localhost (127.0.0.1) is used.
-PORTSpecifies SMTP server port number. If not specified, default (25) is used.
-TODestination e-mail address or list of addresses separated by (comma) or (semicolon).
-TONAMESet the friendly name of the email recipient.
-TOEACH
-SPLIT
Sending the same email to many recipients at once, yet separate email is delivered to each individual recipient.
-CCCarbon Copy e-mail address or list of addresses separated by (comma) or (semicolon).
-BCCBlind Carbon Copy e-mail address or list of addresses separated by (comma) or (semicolon).
-TEXT
-BODY
-MSG
-MESSAGE
Message body / text. If -HTMLFILE switch is used, specifies alternative text for non HTML mail programs.
-ENTER
-CR
Put line break (new line) character between parts of message text.
-FROMSpecifies FROM (sender) e-mail address.
-FROMNAMEFriendly name which appears in email instead of your e-mail address (requires -FROM).
-SUBJ
-SUBJECT
Subject of a message.
-REPLYTOReply To e-mail address.
-REPLYTONAMEReply To friendly name (requires -REPLYTO).
-ATTACH
-FILE
Specifies file to be attached with e-mail. File mask and wildcard support provide very flexible means for identification of files or group of files based on their name and extension.
-IGNOREATTACHERRORS
-IAE
Ignore any errors related to email attachments (such as Access denied, Sharing violation, etc.).
-USEFILE
-UF
Take value from a text file. This parameter can be used with any other parameter.
-CONFIG
-CFG
Replace part of the command line with contents of configuration text file.
-AUTHSMTP authentication method. If not specified, no authentication is used.
  • AUTH PLAIN (Plain authentication method is used)
  • AUTH LOGIN (Login authentication method is used)
  • AUTH NTLM (NTLM authentication method is used)
  • AUTH CRAM-MD5 (CRAM-MD5 authentication is used)
  • AUTH AUTO(Detect AUTH type automatically)
Authentication (except NTLM) requires -USER and -PASS
-USER
-USERNAME
SMTP authentication user name.
-PASS
-PASSWORD
SMTP authentication password.
-SSLMake secure connection to SSL (Secure Socket Layer) enabled SMTP server.
-STARTTLSEstablish secure connection to SMTP with STARTTLS extension.
-HELOUses a custom greeting text upon initiating client / SMTP server communication session.
-HEADERAdd additional custom string to e-mail header.
-NOXMAILERRemove X-Mailer tag from e-mail header (registered version only).
-MIMEUse MIME encoding.
-HTMLSpecifies that plain text message will be sent as .HTML document.
-HTMLFILEUses specified HTML file as HTML email message. Automatically embeds local images from specified locations.
-TESTHTMLAllows to send test .HTML message without adding trial version footer to message.
-CHARSETE-mail message text encoding. If not specified, default (ISO-8859-1) is used.
-PRIORITYSet e-mail priority. If not specified, default (Normal) is used.
-COMMENTAdd comment to e-mail.
-ORGANIZATION
-ORG
Add organization field to e-mail.
-PRECEDENCEAdd Precedence field to e-mail (junk, list, bulk or other value).
-CONFIRM
-RC
Request recipient to send reading confirmation.
-DIALAuto connect to Internet.
-IPBind IP address.
-TIMEOUTSet server timeouts in seconds. If not specified, default (60 sec.) is used.
-WAITBEFOREAdds delay specified in seconds before mail sending operation. If not specified, default (0 sec.) is used.
-WAITAFTERAdds delay specified in seconds after mail sending operation. If not specified, default (0 sec.) is used.
-HIDEHides console window of Command line email immediately after its execution.
-QUIET
-Q
Suppress normal screen output.
-DEBUG
-D
Shows internal variables and SMTP server responses.
-DEBUGX
-DX
Provides user with comprehensive information on communication session between Command line email client and SMTP server.
-SAVEEMLSave composed message to .EML file instead of sending it.
-OPENEMLSend message using standard .EML file.
-LOGSpecifies that some general email sending information (both successful and failed email sending) will be logged in file.
-LOGSUCCESS
-LS
Log successful email sending information in specified log file.
-LOGFAILURE
-LF
Log only unsuccessful email sending attempts in specified log file.
-RESULT
-POPUP
Displays result in Windows message box after email is sent.
-BUY
-ORDER
Open Febooti Software ordering page.
-HOME
-HOMEPAGE
Open Febooti Software home page.
-DOUPDATE
-LU
Force Command line email to check for updates each time this command is used even if auto update is disabled.
-DONTUPDATE
-DLU
Suppress Command line email from checking for update even if auto update is enabled.
-REGISTER
-R
-REGNAME
Register Command line email. Use the following syntax:
  • febootimail -REGISTER xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
  • febootimail -REGNAME "Company name" -R Product-Key
-ONLINEHELP
-OH
-??
Open Command line email online help.
-HELP
-H
-?
Displays help screen in DOS console.

Required parameters: The minimum set of parameters, provided that SMTP server are running on local machine (localhost, 127.0.0.1), are -FROM and -TO (or -CC or -BCC). Example below shows how to send email from DOS prompt.

C:\>febootimail -FROM john@sender.com -TO jack@recipient.com -MSG "Email message using Febooti Command line email. It is easy!"

If there is no local SMTP server, specify SMTP server (outgoing mail server) address using -SMTP or -SERVER parameter. If SMTP server authentication is required, use -AUTH, -USER and -PASS parameter to specify authentication method, username and password, respectively.

C:\>febootimail -FROM john@sender.com -TO jack@recipient.com -MSG "Email message which uses SMTP and AUTH methods to send mail from command prompt (windows command line)." -SMTP outgoing.server.com -USERNAME john -PASSWORD ******** -AUTH LOGIN

OpenSSL credit: This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/). This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).

Please do not hesitate to contact our support department with any possible further questions or to solve practical issues connected with Command line email.

Copyright © 2001-2013 Febooti Software. All rights reserved. Last updated: January 21, 2013