This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 1d5f6b05 Don't forget CC addressees
1d5f6b05 is described below
commit 1d5f6b054e1d63233c1eaaed0ce02c366bee5f5e
Author: Sebb <[email protected]>
AuthorDate: Sun Mar 10 23:57:40 2024 +0000
Don't forget CC addressees
---
www/members/invitations.cgi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/members/invitations.cgi b/www/members/invitations.cgi
index 56977f08..ae937d49 100755
--- a/www/members/invitations.cgi
+++ b/www/members/invitations.cgi
@@ -57,7 +57,8 @@ def setup_data
if v[:Subject] =~ /^(Re: )?Invitation to join The Apache Software
Foundation Membership/
pfx = $1
to = Mail::AddressList.new(v[:To])
- to.addresses.each do |add|
+ cc = Mail::AddressList.new(v[:Cc])
+ (to.addresses + cc.addresses).each do |add|
addr = add.address
next if addr == '[email protected]'
invites[:emails][addr] = link