sfeed_sendmail

sfeed to sendmail command
git clone git://r-36.net/sfeed_sendmail
Log | Files | Refs | LICENSE

commit 6c669407bb665554aae33ff83b02d528329ce940
parent e2c60d93c6f9b9801ccd5a7e6b62f180bcf0baf3
Author: Christoph Lohmann <20h@r-36.net>
Date:   Sat, 10 Oct 2020 15:31:55 +0200

Add Content-Type for UTF-8.

Diffstat:
sfeed_sendmail | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sfeed_sendmail b/sfeed_sendmail @@ -1,7 +1,5 @@ #!/bin/sh -set -x - if [ $# -lt 1 ]; then printf "usage: %s to-addr\n" "$(basename "$0")" >&2 @@ -41,6 +39,7 @@ do printf "To: %s\r\n" "${toaddr}" printf "Date: %s\r\n" "${timestamp}" printf "Subject: %s\r\n" "$(rputil -e "${title}")" + printf "Content-Type: textplain; charset=\"UTF-8\"\r\n" if [ -n "${link}" ]; then printf "X-RSS-URL: %s\r\n" "${link}"