Restore FIXME_ variables loop and add FIXME_DISPLAYNAME
THis code originally had variable replacement like this, but when the inputs started to be be fully MIME-encoded without any plain text, that stopped working. Inputs we're using have that now, so this works again, and thus this feature is restored.
This commit is contained in:
parent
a1b7dc5458
commit
04e706e1fc
1 changed files with 4 additions and 2 deletions
|
@ -163,9 +163,11 @@ foreach my $id (@supporterIds) {
|
||||||
open(my $sendmailFH, "|-", '/usr/lib/sendmail', '-f', $FROM_ADDDRESS, '-oi', '-oem', '--',
|
open(my $sendmailFH, "|-", '/usr/lib/sendmail', '-f', $FROM_ADDDRESS, '-oi', '-oem', '--',
|
||||||
@emails);
|
@emails);
|
||||||
|
|
||||||
|
|
||||||
print $sendmailFH "To: $fullEmailLine\n";
|
print $sendmailFH "To: $fullEmailLine\n";
|
||||||
print $sendmailFH @{$groupLines{$group}};
|
foreach my $line (@{$groupLines{$group}}) {
|
||||||
|
s/FIXME_DISPLAYNAME/$displayName/g;
|
||||||
|
print $sendmailFH $line;
|
||||||
|
}
|
||||||
close $sendmailFH;
|
close $sendmailFH;
|
||||||
usleep(60000);
|
usleep(60000);
|
||||||
$groupCounts{$group}++;
|
$groupCounts{$group}++;
|
||||||
|
|
Loading…
Reference in a new issue