Hi,
I configured msmtp, because ssmtp was removed in the container.
I tried so send mail with
echo -e "To: example@mail.com\r\nSubject: Blah\r\n\r\nThis is a test" | msmtp example@mail.com
This is working
But with command mail (and all notification scrpts are working with command mail), I'm trying with:
echo "Test" | mail -s "Testsubject" example@mail.com
I get:
mail: cannot send message: Process exited with a non-zero status
echo $? returns me erorr code 36, any ideas?
Thanks
Hi,
I configured msmtp, because ssmtp was removed in the container.
I tried so send mail with
echo -e "To: example@mail.com\r\nSubject: Blah\r\n\r\nThis is a test" | msmtp example@mail.comThis is working
But with command mail (and all notification scrpts are working with command mail), I'm trying with:
echo "Test" | mail -s "Testsubject" example@mail.comI get:
mail: cannot send message: Process exited with a non-zero statusecho $? returns me erorr code 36, any ideas?
Thanks