This shows you the differences between two versions of the page.
Previous revision | |||
— | reference:spamrules_statement_winhttpget [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: WinHTTPGet====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | The **WinHTTPGet** statement requires a url, headers variable name and content variable name, in the format | ||
+ | WinHTTPGet <url> <headers variable name> <content variable name> | ||
+ | |||
+ | * The first line of the headers variable will contain the HTTP result code, if present | ||
+ | * If VPOP3 cannot connect to the web server or cannot resolve the name of the website, the headers may be empty | ||
+ | * < | ||
+ | * **WinHTTPGet** is only suitable for retrieving text web pages | ||
+ | * VPOP3 has less control over **WinHTTPGet** than it does over [[spamrules_statement_httpget|HTTPGet]] | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | The following example will retrieve the webpage < | ||
+ | < | ||
+ | WinHTTPGet " | ||
+ | </ |