summaryrefslogtreecommitdiffstats
path: root/masterkey.pl
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-02-14 15:58:35 +0100
committerFlorian Pritz <bluewind@xinu.at>2016-02-14 15:58:35 +0100
commit9d5c349916f6d78f5d55c0c8ea7c5ada82213905 (patch)
treee3d56e0ff03259777f1e2f8135560fb473e8926c /masterkey.pl
parent8da969254e17a0e21ddc7e6f77ba3f1d6c8b66d3 (diff)
downloadbin-9d5c349916f6d78f5d55c0c8ea7c5ada82213905.tar.gz
bin-9d5c349916f6d78f5d55c0c8ea7c5ada82213905.tar.xz
masterkey.pl: BCC mails to sender
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'masterkey.pl')
-rwxr-xr-xmasterkey.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/masterkey.pl b/masterkey.pl
index 55c42cc..7874d16 100755
--- a/masterkey.pl
+++ b/masterkey.pl
@@ -180,6 +180,7 @@ sub build_email {
my $msg = MIME::Entity->build(
From => Encode::encode('iso-8859-1', $sender_name). " <$sender_addr>",
To => $recipient_addr,
+ BCC => $sender_addr,
Subject => Encode::encode('iso-8859-1', $subject),
# TODO: necessary?
#TimeZone => 'Europe/Vienna',