To send email from a python script on the Raspberry Pi follow the below guide.
Prerequisites:
[cc]sudo apt-get install ssmtp mailutils
[/cc]
Note, on my Raspberry Pi I needed to run, “sudo apt-get update –fix-mising” first.
- How to Setup playSMS on the Raspberry Pi
- Configuring NUT UPS Monitor on TrueNas and Debian
- Unifi and UNMS on the one Computer
- Crontab for Backup Job Scheduling
- Finding Drive Information in the Linux Terminal