Getting email off my web server with msmtp (and PHP)
Sometimes I want to get a message from my server, e.g. diagnostic stuff from services (SMART daemon, fail2ban), or if someone tries to contact me on my website, and I want it sent to one of my email addresses which is not maintained on that server. I used to use sSMTP for this, but it seems to stop ...
Sending email off my (non‑mail) server with sSMTP (and PHP)
Deprecated in favour of msmtp. This article is originally from 2016, but I edited it a few times. It seems I have to fix my sSMTP setup every now and then... Be aware that some settings depend not only on your system but also on your email provider. My server is not a mail server, and I never le...