Quote owner name in mail from: no noise esq. can keep her dot.
[pgp-tools.git] / caff / caff
index 58468205e937ff3ec68d8714e421cebf8fbbef75..4eb9083a4ad564eb45c2196922ec8ef36692dac4 100755 (executable)
--- a/caff/caff
+++ b/caff/caff
@@ -247,7 +247,7 @@ sub readwrite_gpg($$$$$%) {
 
        my ($stdout, $stderr, $status) = ("", "", "");
        my $exitwhenstatusmatches = $options{'exitwhenstatusmatches'};
-       trace("doign stuff until we find $exitwhenstatusmatches") if defined $exitwhenstatusmatches;
+       trace("doing stuff until we find $exitwhenstatusmatches") if defined $exitwhenstatusmatches;
 
        my $readwrote_stuff_this_time = 0;
        my $do_not_wait_on_select = 0;
@@ -463,7 +463,7 @@ $CONFIG{'owner'}
 
        $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("From", '"'.$CONFIG{'owner'}.'" <'.$CONFIG{'email'}.'>');
        $message_entity->head->add("User-Agent", $USER_AGENT);
        $message_entity->send();
        $message_entity->stringify();