ℹ️ The Auron SMS Server is now Auron Omni. Learn more here.

Auron SendEmail

The Auron SendEmail portable freeware tools for Windows enable you to send E-mail from GUI or commandline.

The Auron SendEmail set of portable freeware tools for Windows enables you to send emails through either a GUI or the command line.

With Auron SendEmail you can:

  • Send emails from the GUI as well as the command line
  • Automated emails from batch scripts
  • Portable executable, no setup required
  • Use TLS enabled secure SMTP servers
  • Use the GUI to generate command lines
  • View detailed logging for easy troubleshooting
  • Send emails with attachments

Auron SendEmail makes use of the Auron Email Component. With the SendEmail GUI application you can test your email server and build SendEmail command lines for use in scripts. Use the SendEmail console application in your scripts to automatically send email messages. Have a look at the Auron Omni if more flexibility or traceability is required.

Scroll down to find the SendEmail console command line parameters

Freeware

This product is free to use for any purpose. The copyright of this program remains with Auron Software.

This program is ad supported. To ensure no email includes an ad, use this software with a standard Auron Email Component license.

Download Knowledge Base

SendEmail command line parameters

Required parameters

/s or /subject SUBJECT
Sets the subject for the email

/f or /from VALUES
Sets the sender name and address. When only one argument is given this is the email address. Otherwise the first argument is the name, the second is the email address.

/to VALUES
Sets the names and email addresses of the recipients. You can specify an arbitrary list of recipients. The application detects whether a name is included. For example: Marc marc@server.com bill@server.com Frank frank@server.com sends an email to each recipient. You can also repeat the parameter, for example /to user1@server /to user2@server

/h or /host HOST
Sets the SMTP server used for sending the email. It can optionally include a port, for example mail.server.com:587.

Optional parameters

/? or /help
Shows the list of parameters and exits.

/v or /version
Shows the application version and exits.

/bt or /body-text VALUES
Sets the plain text body.

/btf or /body-text-file BODY-TEXT-FILE
Sets a file as the plain text body.

/bh or /body-html VALUES
Sets the HTML body.

/bhf or /body-html-file BODY-HTML-FILE
Sets a file as the HTML body.

/cc VALUES
Sets CC recipients. Uses the same format as /to.

/bcc VALUES
Sets BCC recipients. Uses the same format as /to.

/a or /attachments VALUES
Adds one or more attachments to the email.

/u or /username USERNAME
Sets the SMTP username for authenticated servers.

/p or /password PASSWORD
Sets the SMTP password for authenticated servers.

/secure OPTIONAL SECURE
Enables secure SMTP and optionally sets a port number. Default is 465. Use this only for direct secure connections. STARTTLS on port 587 does not require this flag.

/port PORT
Sets the port if it differs from 25. Common values include 587. Used for non secure connections or STARTTLS.

Advanced parameters

/log-file LOG-FILE
Sets the log file path.

/e or /encoding ENCODING
Sets the encoding of subject and body text. Supported encodings include windows-874, iso-2022-jp, gb2312, ks_c_5601-1987, big5, utf-16, iso-8859-1, windows-1258, us-ascii, iso-8859-2, iso-8859-3, iso-8859-4, iso-8859-5, iso-8859-6, iso-8859-7, iso-8859-8, utf-7, and utf-8.

/priority PRIORITY
Sets email priority. Options are lowest, low, medium, high, or highest. Default is medium.

/mail-header VALUES
Sets additional mail headers using key value pairs. The total number of values must be even.

Example

Send an email from amy@server.com to bert@server.com with an attachment named screenshot.png:

SendEmail64.exe /to "bert@auronsoftware.com" /s "Sending a quick test email" /bt "A quick email from Auron Software SendEmail" 
/attachments "C:\Screenshot\screenshot.png" /log-file "SendEmail.log" /h "mail.server.com" /port 587 /f "amy@auronsoftware.com" 
/u "amy@auronsoftware.com" /p "AmysP@ssword"