CMail - Command Line Mailer (with optional GUI)

Submit portable freeware that you find here. It helps if you include information like description, extraction instruction, Unicode support, whether it writes to the registry, and so on.
Post Reply
Message
Author
SirHumphreyAppleby
Posts: 3
Joined: Sun Dec 27, 2020 10:14 pm
Contact:

CMail - Command Line Mailer (with optional GUI)

#1 Post by SirHumphreyAppleby »

Website: https://www.inveigle.net/cmail
Download: https://www.inveigle.net/cmail/download (amd64 and x86 versions)
Database Entry: https://www.portablefreeware.com/?id=3098 Still private, please click "This app rocks!"

CMail is a freeware application that allows you to send e-mail from the command line or using an optional GUI. Originally developed for testing e-mail and content analysis software, it provides greater control over e-mail formatting and the SMTP session than similar software.

While being very easy to use in its basic form, CMail provides advanced options for those who require them, allowing users to specify such things as the encoding mechanism for the message body and individual attachments, the types of authentication mechanisms to use, aliases for all recipients (similar software often doesn’t support aliases, or can only send to a single user), and per-recipient Delivery Status Notification settings. Users can also control various aspects of the SMTP session, including enforcing the use of SSL/TLS where security is a consideration, setting the HELO/EHLO, adding custom headers, and mandating the use of IPv4 or IPv6.
  • 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 and OAUTH2 bearer tokens.
  • 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.
  • Sending via SOCKS or HTTPS proxies.
  • Works with GMail using App Passwords or user-supplied OAUTHBEARER tokens.
  • Written entirely in C - no need for .NET libraries, Java, or other prerequisites.
  • No installation required. Download, extract, use.
  • Free for private and commercial use.
CMail is provided as-is, free of charge. It may be used for both personal or commercial purposes, and be distributed without restriction, provided the software remains unmodified.

CMailGUI writes settings to either cmailgui.json in the application directory or %APPDATA%/cmailgui.json. Simply creating an empty cmailgui.json in the application directory will make the tool fully portable.
Last edited by SirHumphreyAppleby on Sat Sep 23, 2023 4:04 pm, edited 1 time in total.

robertstokes
Posts: 1
Joined: Mon Sep 18, 2023 10:33 pm

Re: CMail - Command Line Mailer (with optional GUI)

#2 Post by robertstokes »

CMail is a freeware application thatgeometry dash subzero allows you to send e-mail from the command line or using an optional GUI. Originally developed for testing e-mail and content analysis software, it provides greater control over e-mail formatting and the SMTP session than similar software.
Can you explain how to use CMail to send emails from batch files or scripts?

SirHumphreyAppleby
Posts: 3
Joined: Sun Dec 27, 2020 10:14 pm
Contact:

Re: CMail - Command Line Mailer (with optional GUI)

#3 Post by SirHumphreyAppleby »

robertstokes wrote: Mon Sep 18, 2023 10:41 pm Can you explain how to use CMail to send emails from batch files or scripts?
The Examples page (https://www.inveigle.net/cmail/examples) shows you how to do this.

Code: Select all

cmail.exe -host:smtp.example.com -to:user1@example.com -from:user2@example.com "-subject:Simple test e-mail" "-body:This is just a test."
If you need to authenticate, the username and password are specified as part of the -host setting.

Code: Select all

-host:username:password@smtp.example.com 
Use in batch files is no different from use on the command line. As with any binary, you will need to either specify the full path to cmail.exe or ensure it is somewhere in the PATH environment. If calling CMail from within another application, the -cluft8 command line option may be required. This disables conversion of command line parameters from the users code page to UTF8.

User avatar
lintalist
Posts: 436
Joined: Sat Apr 19, 2014 12:52 am
Contact:

Re: CMail - Command Line Mailer (with optional GUI)

#4 Post by lintalist »

ulnaoperating wrote: Mon Feb 19, 2024 5:58 pmWould it be possible for you to guide me through the steps involved in sending emails using CMail from batch files or scripts?
Have you actually read the answer above or are you just a bot.

User avatar
Midas
Posts: 6725
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: CMail - Command Line Mailer (with optional GUI)

#5 Post by Midas »

lintalist wrote: ... are you just a bot.

I harbored that same suspicion, precisely. :?

User avatar
webfork
Posts: 10821
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: CMail - Command Line Mailer (with optional GUI)

#6 Post by webfork »

Midas wrote: Wed Feb 21, 2024 3:55 am
lintalist wrote: ... are you just a bot.
I harbored that same suspicion, precisely. :?
Yeah we've been getting this new kind of spam which is someone jamming a spam page in their profile and then creating either a very low effort or probably AI-generated post. I get that LLM tools have some benefits but I swear the whole history of ChatGPT for me has just been one big headache.

Post Reply