Send email from commandline using postfix
echo "test message" | mailx -s 'test subject' name@yourdomain.com
This code gives us insight into the number of people who visit our website, where they are from, and what they are clicking on.