git ssb

0+

cel / ledger-scripts



Commit 86d53ff02fe53e9e4c1faab25ee410bf38724a1f

Abort if email lacks From or Subject header

Charles Lehner committed on 9/30/2015, 7:16:35 PM
Parent: abc04039aadd5fda1986fa7bf2c571c896d35ca0

Files changed

claws-filterchanged
claws-filterView
@@ -122,8 +122,10 @@
122122
123123 my ($from) = extract_addresses(header('from'));
124124 my ($subject) = header('subject');
125125
126+exit if (!$from || !$subject);
127+
126128 dividend_havelock
127129 if ($from =~ /\@havelockinvestments\.com$/ &&
128130 $subject eq '[Havelock Investments] Dividend Received');
129131

Built with git-ssb-web