changeset 167:fdc8008c236c

MIME encode SMAIL_TO
author HIROSE Yuuji <yuuji@gentei.org>
date Fri, 29 Jan 2016 11:01:28 +0859
parents 32557aa9af94
children 1dea78110c79
files s4-blog.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-blog.sh	Fri Jan 29 10:59:01 2016 +0859
+++ b/s4-blog.sh	Fri Jan 29 11:01:28 2016 +0859
@@ -35,7 +35,7 @@
     *)		emails=`collectemail $blogowner` ;;
   esac
   err notify: user=$user Admins=`getgroupadmins $blogowner` Mode=$mode Emails="[$emails]"
-  SMAIL_TO="$blogowner readers <$admin>" \
+  SMAIL_TO="`echo "$blogowner" | nkf -jM` readers <$admin>" \
 	  smail "$emails" "${action}通知 $urlbase"<<EOF
 [$blogtitle]板に${action}がありました。
 場所: $blogurl

yatex.org