| Date: Wed, 8 Jun 2022 23:50:56 +0200
If title is empty, do not encode.
Diffstat:
sfeed_sendmail | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--- |
| t@@ -55,7 +55,10 @@ do
printf "From: %s\r\n" "${fromaddr}"
printf "To: %s\r\n" "${toaddr}"
printf "Date: %s\r\n" "${timestamp}"
- printf "Subject: %s\r\n" "$(rputil -e "${title}")"
+ if [ -z "${title}" ];
+ then
+ printf "Subject: %s\r\n" "$(rputil -e "${title}")"
+ fi
printf "Content-Type: text/plain; charset=\"UTF-8\"\r\n"
if [ -n "${link}" ];
then |