chiark / gitweb /
Encode instance in emails properly
[ypp-sc-tools.db-test.git] / yarrg / commod-update-receiver
index 9c8dd30..cd9ef83 100755 (executable)
@@ -147,9 +147,10 @@ foreach my $mid (<_mid-*.hold>) {
     unlink $mid or $!==&ENOENT or die "$mid $!";
 }
 
+$o{'instance'}= $ENV{'YARRG_INSTANCE'};
 
 my $mcontent= MIME::Entity->build(To => 'yarrg-commod-updates',
-                                 Subject => $pwd,
+                                 Subject => $ENV{'YARRG_INSTANCE'},
                                  Type => 'multipart/mixed',
                                  Boundary => '=',
                                  'Message-ID' => $mid,