User Tools

Site Tools


reference:autoresponder_global_script

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
reference:autoresponder_global_script [2025/05/28 10:50] – created paulreference: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 will not take place.+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 autoresponse will be generated, and any modified global variables will not be used, just as if the function hadn't been called. 
 +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 ''Autoresponder'' and ''AutoresponderRule'' global variables described above. There are extra global variables provided to the PostProcessAutoresponder function as well as the ''Autoresponder'' and ''AutoresponderRule'' global variables described above.
Line 72: Line 75:
 The function can alter the ''Autoresponder'' global variable as well as most of the global variables listed below: The function can alter the ''Autoresponder'' global variable as well as most of the global variables listed below:
  
-  * From - the originator email address of the autoresponse (read/write)+  * From - the originator email address of the autoresponse (read/write)\\ (table containing elements "Email" and "Name")
   * ReturnPath - the return path of the autoresponse (read/write)   * ReturnPath - the return path of the autoresponse (read/write)
   * Subject - the subject of the autoresponse (read/write)   * Subject - the subject of the autoresponse (read/write)
-  * ReplyTo - the ReplyTo email address of the autoresponse (read/write) +  * ReplyTo - the ReplyTo email address of the autoresponse (read/write)\\ (table containing elements "Email" and "Name"
-  * RespondTo - the default email address where the autoresponse will be sent (read/write) (see also the Autoresponder.To field)+  * RespondTo - the default email address where the autoresponse will be sent (read/write) (see also the Autoresponder.To field)\\ (table containing elements "Email" and "Name")
   * Headers - a table containing custom headers of the autoresponse (read/write)   * Headers - a table containing custom headers of the autoresponse (read/write)
   * 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)
  
reference/autoresponder_global_script.1748425830.txt.gz · Last modified: by paul