I have been using the terminal command 'mail' on my Ubuntu PC to send emails. To get it working I installed it using:
sudo apt install mailutils
Then I can send an email using:
mail -s "Hello Friend" email@example.com
This all works fine.
I tried the same install on my Raspberry Pi running DietPi and although it appears to install OK and I do not get an error message when I send an email, it never works.
Is there a different way to get it installed/working on DietPi?