From f985b1c1efc24753def75a47b4074e1cbc7f7109 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Sat, 2 Jan 2016 10:47:29 -0800 Subject: [PATCH] Modifications to the email notification. --- scripts/send-t-shirts.plx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/send-t-shirts.plx b/scripts/send-t-shirts.plx index d443eb6..01f4fde 100644 --- a/scripts/send-t-shirts.plx +++ b/scripts/send-t-shirts.plx @@ -68,16 +68,16 @@ foreach my $id (sort keys %idsSent) { $emailTo = $addr[0]; } my $fromAddress = 'info@sfconservancy.org'; - open(SENDMAIL, "|/usr/lib/sendmail -f \"$fromAddress\" -oi -oem -- $emailTo") or + open(SENDMAIL, "|/usr/lib/sendmail -f \"$fromAddress\" -oi -oem -- $emailTo $fromAddress") or die "unable to run sendmail: $!"; print SENDMAIL < -Subject: $idsSent{$id} Conservancy T-Shirt sent via post. +Subject: $idsSent{$id} Conservancy T-Shirt sent via post last month. The t-shirt of size $idsSent{$id} that you requested as a Conservancy -Supporter was sent to you via the post today. Please ping us if you don't -receive your shirt within two weeks. +Supporter was sent to you via the post today. Please ping us if you +do not receive your t-shirt within two weeks. Thank you again so much for supporting Conservancy. When your shirt arrives, we'd really appreciate if you'd post pictures of the shirt on social media