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.
- Unifi and UNMS on the one Computer
- Crontab for Backup Job Scheduling
- Finding Drive Information in the Linux Terminal
- Setting up Samba on Debian
- Ubuntu and Slax PXE Booting