S-nail is an open source and completely free command-line software, a mail processing system, as well as an extended version of the mailx software especially designed for POSIX operating systems, including GNU/Linux.
Features at a glance
Key features include a command syntax that is very similar to the one used on the GNU ed application, with lines replaced by messages, and various command-line options (see below for details). S-nail is mostly intended to offer mailx’s functionality on Linux systems.
S-nail has been engineered in such a way that it provides extensions for line editing, and supports IMAP, SMTP, POP3, IDNA, MIME and S/MIME protocols. In addition, it can be used as a mail batch language.
Getting started with S-nail
To install and use the S-nail program on your GNU/Linux operating system, you must first download the latest archive from Softpedia or via its official website (see link at the end of the article), unpack it and open a terminal emulator app.
In the Linux Terminal app, you must use the ‘cd’ command to navigate to the location of the extracted archive files (e.g. cd /home/softpedia/s-nail-14.7.8) and type the ‘make’ command to compile the software.
Finally, execute the ‘make install’ command as root or the ‘sudo make install’ command as a privileged user to install S-nail system wide and make it available to all users. Use it by running the ‘s-nail’ command in a terminal (it will notify you about existing emails).
S-nail’s command-line options, including the usage example message, can be viewed at a glance by running the ‘s-nail --help’ command in a terminal emulator app. Among the included command-line options, we can mention the ability to specify an email account, to add an attachment, to add a CC or BCC email address, to add a from email address, to add a subject, as well as to add a to email address.