This shows you the differences between two versions of the page.
Previous revisionLast revision | |||
— | reference:spamrules_statement_getrfc822date [2023/08/14 16:53] – paul | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: GetRFC822Date====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | The **GetRFC822Date** statement requires a date in RFC 822 format and a variable name, in the format | ||
+ | GetRFC822Date < | ||
+ | | ||
+ | The result is a double, so can contain fractions of a day | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | < | ||
+ | GetRFC822Date ${date} result | ||
+ | |||
+ | Log ${result} | ||
+ | </ |