reference:lua_smtp_server_script

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
reference:lua_smtp_server_script [2019/06/05 11:05] – [In VPOP3 Enterprise Only] paulreference:lua_smtp_server_script [2024/05/01 14:12] paul
Line 227: Line 227:
     * Reason string - text string to use if a reason is needed for the action     * Reason string - text string to use if a reason is needed for the action
     * Recipients table - table containing new/replacement recipients for the message     * Recipients table - table containing new/replacement recipients for the message
-    * HeaderModifiers table - list of message header modifications to make+    * HeaderModifiers table - list of message header modifications to make - each entry is the full header line (eg "From: <user@company.com>"
   * <message MIME structure> is a table with one or more of the following entries   * <message MIME structure> is a table with one or more of the following entries
     * Path string - the IMAP style path to the message section     * Path string - the IMAP style path to the message section
Line 248: Line 248:
  
 This function should return <new actions table>, <results string> This function should return <new actions table>, <results string>
 +
 +(In version 7.0 and later, the returned 'results string' is ignored)
  
 In this function the [[lua_scripting#only_in_pop3cltlua_and_smtpsvrlua_processmessage_function|VPOP3 ProcessMessage helper functions]] can be used. In this function the [[lua_scripting#only_in_pop3cltlua_and_smtpsvrlua_processmessage_function|VPOP3 ProcessMessage helper functions]] can be used.
reference/lua_smtp_server_script.txt · Last modified: 2024/05/01 14:12 by paul