Mercurial > hgrepos > hgweb.cgi > after5
changeset 86:26c81703a80c draft
Do not send to $SENDER when viamail mode
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Mon, 16 Dec 2013 10:57:45 +0900 |
parents | e2b6a2e8b5c7 |
children | 1f99367752fb |
files | after5.rb |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/after5.rb Mon Dec 16 10:41:21 2013 +0900 +++ b/after5.rb Mon Dec 16 10:57:45 2013 +0900 @@ -4,7 +4,7 @@ # Associative Scheduling Table - after5 # (C)2003, 2004, 2006, 2008, 2012, 2013 by HIROSE Yuuji [yuuji<at>gentei.org] # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $ -# Last modified Mon Dec 16 10:38:55 2013 on firestorm +# Last modified Mon Dec 16 10:56:24 2013 on firestorm # See http://www.gentei.org/~yuuji/software/after5/ # このスクリプトはEUCで保存してください。 $hgid = <<_HGID_.split[1..-2].join(" ") @@ -2974,7 +2974,9 @@ mailaddress(u, name).split(/,\s*|\s+/)}.flatten.uniq else rcpts = @sc.mailaddress(name).split(/,\s*|\s+/).flatten - rcpts += @sc.mailaddress(user).split(/,\s*|\s+/).flatten # +sender + if user && !viamail # HTTP mode + rcpts += @sc.mailaddress(user).split(/,\s*|\s+/).flatten # +sender + end end # ENV["QMAILINJECT"] = "r" # for ML mode, use verp # For vodafone, QMAILINJECT=r doesn't work correctly