[Pgp-tools-commit] r101 - trunk/caff

Christoph Berg myon-guest at costa.debian.org
Thu Jun 30 18:12:09 UTC 2005


Author: myon-guest
Date: 2005-06-30 18:12:08 +0000 (Thu, 30 Jun 2005)
New Revision: 101

Modified:
   trunk/caff/caff
Log:
Config option for Bccing the sender. Thanks to Joost van Baal.


Modified: trunk/caff/caff
===================================================================
--- trunk/caff/caff	2005-06-30 16:49:29 UTC (rev 100)
+++ trunk/caff/caff	2005-06-30 18:12:08 UTC (rev 101)
@@ -176,6 +176,11 @@
 
 =back
 
+=item B<bcc> [string]
+
+Address to send blind carbon copies to when sending mail.
+Default: none.
+
 =back
 
 =head1 AUTHOR
@@ -555,6 +560,7 @@
 	$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();





More information about the Pgp-tools-commit mailing list