This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| reference:autoresponder_global_script [2025/05/28 10:50] – created paul | reference:autoresponder_global_script [2026/03/23 15:29] (current) – [PostProcessAutoresponder] paul | ||
|---|---|---|---|
| Line 66: | Line 66: | ||
| * incoming_message = the incoming message (including headers). This is truncated at 100,000 bytes | * incoming_message = the incoming message (including headers). This is truncated at 100,000 bytes | ||
| - | The function returns one value, which is the new autoresponder message text. So, it should at least return the second parameter provided to it. If this is blank, then the autoresponse will not be generated, and any side-effects | + | The function returns one value, which is the new autoresponder message text. So, it should at least return the second parameter provided to it. |
| + | |||
| + | **If no value is returned**, then the original | ||
| + | If a blank string is returned, then the autoresponse will not be generated at all. | ||
| There are extra global variables provided to the PostProcessAutoresponder function as well as the '' | There are extra global variables provided to the PostProcessAutoresponder function as well as the '' | ||
| Line 72: | Line 75: | ||
| The function can alter the '' | The function can alter the '' | ||
| - | * From - the originator email address of the autoresponse (read/ | + | * From - the originator email address of the autoresponse (read/write)\\ (table containing elements " |
| * ReturnPath - the return path of the autoresponse (read/ | * ReturnPath - the return path of the autoresponse (read/ | ||
| * Subject - the subject of the autoresponse (read/ | * Subject - the subject of the autoresponse (read/ | ||
| - | * ReplyTo - the ReplyTo email address of the autoresponse (read/ | + | * ReplyTo - the ReplyTo email address of the autoresponse (read/write)\\ (table containing elements " |
| - | * RespondTo - the default email address where the autoresponse will be sent (read/ | + | * RespondTo - the default email address where the autoresponse will be sent (read/ |
| * Headers - a table containing custom headers of the autoresponse (read/ | * Headers - a table containing custom headers of the autoresponse (read/ | ||
| * RFC3834 - a boolean indicating whether the RFC3834 global setting is set in VPOP3 (read-only) | * RFC3834 - a boolean indicating whether the RFC3834 global setting is set in VPOP3 (read-only) | ||