Releases: KeepSec-Technologies/Mail2Go
Release list
Fix config/flag priority and error handling - 1.1.9
Bug fixes
- Config values are no longer ignored. CLI flags with non-empty defaults
(--smtp-port/-p,--tls-mode/-l) silently overrode config-file values
even when not passed. They now default to unset, so config is respected;
the built-in defaults (port 587, TLS mandatory) apply only when nothing is
specified anywhere. - Fixed a panic when the SMTP client failed to initialize — the error is
now returned instead of dereferencing a nil client. - Send failures now exit non-zero.
sendEmail's error was previously
discarded, so failures still reported success. - Invalid config files and
--body-fileread errors now stop execution
instead of silently continuing with empty values. - Invalid
--tls-modevalues are rejected instead of silently degrading
to the default TLS policy.
Note
Any script relying on a typo'd --tls-mode that previously "worked" via
opportunistic STARTTLS will now fail loudly — set a valid mode
(none, tls-skip, or tls).
New Contributors
Full Changelog: 1.1.8...1.1.9
Reply-to functionality and see current version - 1.1.8
Added a reply-to functionality and a way to see current version.
-r, --reply-to Email address to reply to (optional)
-v, --version Application versionFull Changelog: 1.1.7...1.1.8
Added option for no auth SMTP - 1.1.7
Added an option in the config file and CLI to allow the use of no authentication for sending emails via SMTP.
Useful for some relays or Office 365 Direct Send.
Shouldn't change anything for current users, other options are left intact.
Full Changelog: 1.1.6...1.1.7
Default configuration file - 1.1.6
Adding @WintersMichael new feature.
This will take a default configuration file from ~/.config/mail2go/config.json without using the --config argument.
This will make it easier for automation or repeat use, this won't affect users using other methods.
Note: CLI arguments will override configuration files (from the --config argument or the default location at ~/.config/mail2go/config.json).
Replaced 'AUTH type' - 1.1.5
Replaced 'AUTH type' for 'LOGIN'
The PLAIN Auth seemed to cause issues on certain SMTP servers like Office 365 and I don't think having it instead of PLAIN would cause more issues since most SMTP servers uses LOGIN by default.
The usage doesn't change it's the exact same.
New TLS options - 1.1.4
There was an issue that could happen when wanting to use an unverified certificate, mainly on a local SMTP server, that pushed to make this release.
Now you have a new CLI argument which is "-l" or "--tls-mode" and in the JSON configuration file "tls_mode".
The options are:
'none' - Simply no TLS
'tls-skip' - Skip TLS verification, useful for local SMTP servers
'tls' - Normal TLS configuration with SMARTTLS
More details and examples in the new README.
Fixed TLS issues - 1.1.3
There was issues when using the port 465 (TLS).
It should now be fixed.
1.1.2
Replaced gopkg.in/mail.v2 implemention by wneessen/go-mail which is still maintained.
(Thank you u/dh71)
Full Changelog: 1.1...1.1.2
Config file support - 1.1
After some good received feedback I decided to add support for configuration files.
The instructions are in the updated README, the config files are in JSON.
I also decided to use go-mail instead of std libraries (net/smtp) based on a suggestion which should help and simplify email deliverability.
Release 1.1
Initial release - 1.0
Mail2Go is a very lightweight command-line SMTP client written in Go, designed to send emails from the command-line easily.
Here is it's first release!