changeset 679:f0396eb2dfc9

Suppress listing selected rcpt addresses in To: header(GrpAction)
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 14 May 2020 08:38:31 +0900
parents db77378201ab
children 455d31b22d33
files s4-funcs.sh
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/s4-funcs.sh	Wed May 13 20:31:21 2020 +0900
+++ b/s4-funcs.sh	Thu May 14 08:38:31 2020 +0900
@@ -2686,10 +2686,12 @@
 	)
       fi
       ## SENDER=$noreply \ # Should not SENDER be set to $noreply??
-      rcpts="`email4groupbyuid "$grp" $usel` $user$supprcpt"
+      rcpts="`email4groupbyuid "$grp" $usel` $supprcpt"
       subj="${subj:-$gecos さんからのメッセージ}"
       REPLYTO=$replyto
+      SMAIL_TO="$user $fromad$supprcpt"
       MAIL_FROM=$mail_from
+      export REPLYTO SMAIL_TO MAIL_FROM
       if [ -n "$afiles" ];then
 	./sendmultipart.sh -t "$rcpts" -s "$subj" -f "$mail_from" $afiles
       else

yatex.org