From: myon-guest Date: Thu, 30 Jun 2005 18:12:08 +0000 (+0000) Subject: Config option for Bccing the sender. Thanks to Joost van Baal. X-Git-Url: https://git.sthu.org/?a=commitdiff_plain;h=d8be25e933c2ebc24fec3f3f04168528a7cafe66;p=pgp-tools.git 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 --- 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();