From within a python program, I am trying to send an email message using this command: os.system('/home/pi/emailstart.sh')
The emailstart.sh
program is
#!/bin/bash
echo "Motion Started" | mail -s "Subject" [email protected]
This program sends the mail when I send it from the command line but does nothing when I try to send it from within there python program.
Any observations?