From d8be25e933c2ebc24fec3f3f04168528a7cafe66 Mon Sep 17 00:00:00 2001 From: myon-guest Date: Thu, 30 Jun 2005 18:12:08 +0000 Subject: [PATCH] Config option for Bccing the sender. Thanks to Joost van Baal. git-svn-id: svn://svn.debian.org/pgp-tools/trunk@101 b513b33f-fedd-0310-b452-c3deb5f4c849 --- caff/caff | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/caff/caff b/caff/caff index 532a012..59ee3b8 100755 --- a/caff/caff +++ b/caff/caff @@ -176,6 +176,11 @@ The UIDs for which signatures are included in the mail. =back +=item B [string] + +Address to send blind carbon copies to when sending mail. +Default: none. + =back =head1 AUTHOR @@ -555,6 +560,7 @@ sub send_mail($$$@) { $message_entity->head->add("Subject", "Your signed PGP key 0x$key_id"); $message_entity->head->add("To", $address); $message_entity->head->add("From", '"'.$CONFIG{'owner'}.'" <'.$CONFIG{'email'}.'>'); + $message_entity->head->add("Bcc", $CONFIG{'bcc'}) if defined $CONFIG{'bcc'}; $message_entity->head->add("User-Agent", $USER_AGENT); $message_entity->send(); $message_entity->stringify(); -- 2.39.5