Commit 86d53ff02fe53e9e4c1faab25ee410bf38724a1f
Abort if email lacks From or Subject header
Charles Lehner committed on 9/30/2015, 7:16:35 PMParent: abc04039aadd5fda1986fa7bf2c571c896d35ca0
Files changed
claws-filter | changed |
claws-filter | ||
---|---|---|
@@ -122,8 +122,10 @@ | ||
122 | 122 | |
123 | 123 | my ($from) = extract_addresses(header('from')); |
124 | 124 | my ($subject) = header('subject'); |
125 | 125 | |
126 | +exit if (!$from || !$subject); | |
127 | + | |
126 | 128 | dividend_havelock |
127 | 129 | if ($from =~ /\@havelockinvestments\.com$/ && |
128 | 130 | $subject eq '[Havelock Investments] Dividend Received'); |
129 | 131 |
Built with git-ssb-web