How to install ssmtp on mac? I want to install the ssmtp (http://archive09.linux.com/feature/132006) on my Mac (El Capitan).

I have homebrew installed but ssmtp isn't one of the packages available.

What are my options for getting ssmtp installed? I'm guessing the only way is to compile it from source code but I'm not sure where to get the source code and what commands to run.
As you said, the only option is to compile the source code.

You can download from the project repository on github. There is a download button there.

To install it, your have to uncompress the downloaded file. Once done, cd to sSMTP-master directory.

The generic compilation process is executing the following commands one by one:

./configure
make
sudo make install


The configure command can be altered with lots of parameters. To let you know your options, you can run ./configure --help