]> git.donarmstrong.com Git - bin.git/commitdiff
should be /m when testing for subject
authorDon Armstrong <don@donarmstrong.com>
Mon, 24 Sep 2007 07:12:14 +0000 (07:12 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 24 Sep 2007 07:12:14 +0000 (07:12 +0000)
delay_mail

index 854dacbab577b3ad048c5186f4bca1eaa1cec5a5..4713b53dab04d0ea037da50f3692fb820e79b1aa 100755 (executable)
@@ -163,7 +163,7 @@ if (exists $options{enqueue}) {
      my $email = <STDIN>;
      # rip subject out of email
      # we cheat for now; this isn't correct at all.
-     my ($subject) = $email =~ /^Subject:\s*(.+)/i;
+     my ($subject) = $email =~ /^Subject:\s*(.+)/mi;
      $subject = decode_rfc1522($subject);
      $subject =~ s/\n//g;
      # create a queue entry