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', '--', | ||||
|        @emails); | ||||
| 
 | ||||
| 
 | ||||
|   print $sendmailFH "To: $fullEmailLine\n"; | ||||
|   print $sendmailFH @{$groupLines{$group}}; | ||||
|   foreach my $line (@{$groupLines{$group}}) { | ||||
|     s/FIXME_DISPLAYNAME/$displayName/g; | ||||
|     print $sendmailFH $line; | ||||
|   } | ||||
|   close $sendmailFH; | ||||
|   usleep(60000); | ||||
|   $groupCounts{$group}++; | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn