dt.iki.fi

2 posts are tagged "email"

Getting email off my web server with msmtp (and PHP)

My server is not a mail server, and I never learned to make use of UNIX' internal mailing system. But 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 my email addres.....

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.....