Hello Thomas,
There is a bug: Doorpi does not execute the last 2 commands of the following .sh file:
Bash
#!/bin/bash
echo "Date: " `date` >> /home/pi/Doorpi/mail.txt
echo "objet" | mutt -s "texte" xxxxxx@orange.fr
cat /home/pi/Doorpi/mail.txt | mutt -s "texte" xxxxxx@orange.fr
The mail.txt file is updated with the first echo statement but the last 2 statements are not executed.
The proof also is that the last 2 instructions seize separately in a console, work properly.
See the following message: https://www.doorpi.org/forum/t…ile/?postID=6217#post6217
Waiting, cordially.
Pat