From 5cfac6b50059dd2014ab80da6bbb8bcc2c5a5d28 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 21 Sep 2011 15:23:34 +0100 Subject: [PATCH] Added bcc support to email facility. --- Template.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Template.pm b/Template.pm index 55d99eb..a142f61 100644 --- a/Template.pm +++ b/Template.pm @@ -449,6 +449,7 @@ sub email_template { $email = "From: ".$args -> {"***from***"}."\n"; $email .= "To: ".$args -> {"***to***"}."\n"; $email .= "Cc: ".$args -> {"***cc***"}."\n" if($args -> {"***cc***"}); + $email .= "Bcc: ".$args -> {"***bcc***"}."\n" if($args -> {"***bcc***"}); $email .= "Subject: ".$args -> {"***subject***"}."\n"; $email .= "Date: ".strftime($args -> {"***date***"})."\n" if($args -> {"***date***"}); $email .= "\n";