Febooti, Ltd.

Help and knowledge base

Collection of articles provides information on various aspects of using and troubleshooting Command Line Email utility. Documentation categories 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 all necessary commands that allow great flexibility on how to send email. Usually, you need just a few simple commands: FROM, TO, TEXT, SUBJ, ATTACH, SMTP, AUTH (+USER and PASS) and optionally SSL that ensures connection and data safety.

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

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

Basic examples


Email integration

Email commands

List of all supported email commands with brief description. Click on the command to view full details and parameter requirements, including usage examples.

Command & Alias Description
SMTP server name or IP address. By default, localhost is used.
-PORT SMTP server port number. By default, the port 587 is used.
-TO Destination email address or list of recipients, separated by comma or semicolon.
-TONAME Friendly name of the email recipient.
Sending the same email to many recipients at once, yet separate email is delivered to each individual recipient.
-CC Carbon Copy email address or list of recipients, separated by comma or semicolon.
-BCC Blind Carbon Copy email address or list of recipients, separated by comma or semicolon.
Text of the email message.
Separate email text with line breaks into paragraphs.
-FROM Email address of the sender.
-FROMNAME Sender friendly name.
Subject of a message.
-REPLYTO Reply To email address.
-REPLYTONAME Reply To friendly name.
Attachment of the email. Multiple files, file masks and wildcards are supported.
-IAE Ignore any errors related to email attachments, such as Access denied, Sharing violation, etc. Alternate name: IGNOREATTACHERRORS
Take value from a text file. This parameter can be used with any other parameter.
Use predefined parameters from the configuration file.
-AUTH SMTP authentication method. AUTO command enables automatic detection of authentication method.
SMTP user name.
SMTP password.
-SSL Use secure connection to SSL enabled SMTP server.
-STARTTLS Establish secure connection to the server with STARTTLS extension.
-TLS Select the version of Transport Layer Security to use when establishing secure connections.
-ITE Ignore any errors in certificate and central authority validation. Connection is still secure, however validation is skipped. Alternate name: IGNORETLSERRORS
-HELO Uses a custom greeting text for SMTP server.
-HEADER Add custom tags to email header.
-NOXMAILER Remove X-Mailer header from the email.
-NOID Remove Message-ID header.
-MIME Use MIME encoding.
-HTML Specifies that email body is HTML.
-HTMLFILE Specify HTML file as email message. Automatically embeds images.
-TESTHTML Send test HTML message.
-CHARSET Email message text encoding.
-PRIORITY Email priority.
-COMMENT Comment of the email.
Organization field of the email.
-PRECEDENCE Precedence of mass email.
Request recipient to send reading confirmation.
-DIAL Auto connect to the Internet using dial-up modem.
-IP Bind an IP address.
-TIMEOUT Set connection timeout.
-WAITBEFORE Adds delay before mail sending.
-WAITAFTER Adds delay after mail is sent.
-HIDE Hides console window immediately.
Suppress screen output.
Shows internal variables and mail server responses.
Shows comprehensive information on communication session between Command Line Email client and SMTP server.
-SAVEEML Save composed message to .eml file instead of sending it.
-OPENEML Send message using .eml file.
-LOG Log email sending events.
Log only successfully sent email history.
Log only failed email sending attempts.
Displays result in message window.
Opens ordering page.
Opens home page.
Force check for updates.
Suppress update check.
Register Command Line Email from the console.
Opens online help.
Displays help screen in DOS console.


Some commands are mandatory. For example, it is not possible to send email without recipient, and without specifying From address. The last thing required to send email is outgoing email server (by default localhost is used). View simple example:

febootimail -FROM joe@sender.com -TO jack@recipient.com -TEXT "Email message using Febooti Command Line Email. It is easy!"

In most cases you need to specify outgoing mail server address using -SMTP or -SERVER parameter. If server requires authentication, use -AUTH, -USER and -PASS parameters to specify authentication method, username and password, respectively.

febootimail -FROM joe@sender.com -TO jack@recipient.com -TEXT "Email which uses SMTP and AUTH methods to send mail from Windows command prompt" -SMTP outgoing.server.com -USERNAME Joe -PASSWORD ******** -AUTH AUTO

Command Line Email

Want CMD email?

Buy now30 day MBG · Details…

Need assistance?

If you have any questions, please do not hesitate to contact our support team.

We're growing fast. Thank you!

Video · Monitor an FTP server & send invoice via email

Automate awesome!
Recent news
  • May 4, 2020
    Command Line Email v7.0 introduces new TLS commands. Improved console output and debugging experience. More improvements.
  • April 16, 2020
    Automation Workshop v4.1.1 ensures even more compatibility with various Windows Domain and network configurations.
  • April 2, 2020
    Automation Workshop v4.1.0 introduces Action favorites and extended view mode. Many minor UX and performance improvements.
Automation Workshop makes doing my job much easier.—Susan H.
Our clients
Last updated: May 4, 2020
Oct 01, 2020 · 09:55
0.005 · 0.000
0.3 · 3.8