so here's the whole text i'm sending:
and here's the email i'm receiving:
basically i just cat the file and echo then pipe it to ssmtp like this:
result=`cat file.out`
echo "$result" | ssmtp $emailaddr
so here's the whole text i'm sending:
and here's the email i'm receiving:
basically i just cat the file and echo then pipe it to ssmtp like this:
result=`cat file.out`
echo "$result" | ssmtp $emailaddr
Copyright © 2021 Jogjafile Inc.


ssmtp protocol defines the lines in format
something: somethingto be the header lines, likeFrom: [email protected]defines where from the email is. So if you want to specify the body only, add a leading empty line as the separator between the header and body of the message and hopefullyssmtpshould pick it up.