CMail Command Line Mailer
BETA testers needed for OAuth2 integration.
See CMail OAuth2 Builds if you are interested in testing CMail with OAuth2.
What is CMail? CMail is a freeware application that allows you to send e-mail from the Windows command line using SMTP. It is primarily intended for sending e-mail from batch files or other scripts/applications, but is simple enough to be used interactively. If you are looking for an alternative to Blat with SSL support (stunnel not required), CMail may be a good choice.
Note
|
CMail is actively maintained with new functionality added as necessary, often resulting from requests by users. |
CMail was originally developed to assist with testing e-mail server and content analysis software, and as a result it includes features not found in similar tools. It doesn’t just send an e-mail - CMail gives you greater control over the SMTP session and how the message is constructed.
Features
-
Flexible configuration via files or the command line and optional GUI provided by CMailGUI.
-
TLS/SSL (including TLS 1.3) via STARTTLS or SMTPS (SSL-enabled version). Built-in, stunnel not required.
-
Support for adding multipart/alternative HTML message bodies (UTF-8) and embedded images.
-
SMTP authentication using CRAM-MD5, PLAIN, LOGIN, OAUTHBEARER and XOUATH2.
-
Unlimited attachments using base64, quoted printable or uuencoding.
-
Wildcard attachment support to attach directory content.
-
Unlimited To/Cc/Bcc recipients, with aliases and DSN options for each if desired.
-
Message bodies using plain text, base64, or quoted printable encoding.
-
IPv6 support.
-
DKIM signing (RSA and Ed25519).
-
Delivery Status Notification and Message Disposition Notification (Read receipt) support.
-
Read message body from command line, stdin or file.
-
Optional configuration via stdin and JSON-based output for easy integration with third-party applications.
-
Sending via SOCKS or HTTPS proxies.
-
Works with GMail using App Passwords or user-supplied OAUTHBEARER tokens.
-
Create and send .eml files.
-
Written entirely in C - no need for .NET libraries, Java, or other prerequisites.
-
Portable - no installation required and nothing is written to disk by default (CMailGUI can also store its configuration on a portable file system).
-
Free for private and commercial use.
See CMail Usage for all features.