User Tools

Site Tools


reference:lua_smtp_relay_control

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
reference:lua_smtp_relay_control [2014/03/05 13:18] – [Global Variables] paulreference:lua_smtp_relay_control [2018/11/14 10:45] (current) – external edit 127.0.0.1
Line 13: Line 13:
   * UseBATV - this is a boolean value saying whether to [[http://en.wikipedia.org/wiki/Bounce_Address_Tag_Validation|BATV]] encode the return path address   * UseBATV - this is a boolean value saying whether to [[http://en.wikipedia.org/wiki/Bounce_Address_Tag_Validation|BATV]] encode the return path address
  
-In VPOP3 6.7 and later, there are more read/write global variables+In VPOP3 6.7 and later, there are more read/write global variables and a read-only variable
   * MaxMessagesPerConnection - The maximum number of messages to send in this connection   * MaxMessagesPerConnection - The maximum number of messages to send in this connection
   * MaxRecipientsPerConnection - The maximum number of recipients to specify in this connection   * MaxRecipientsPerConnection - The maximum number of recipients to specify in this connection
   * MaxRecipientsPerMessage - The maximum number of recipients to send each message to   * MaxRecipientsPerMessage - The maximum number of recipients to send each message to
 +  * ConnectedServer (read only) - The server name which VPOP3 has connected to (set just before the ServerConnected function call)
 =====Initialisation===== =====Initialisation=====
 When VPOP3 starts the send process, it calls the function **Start** which takes no parameters, and has no return value. This can be used for initialisation, or for changing read/write global variables When VPOP3 starts the send process, it calls the function **Start** which takes no parameters, and has no return value. This can be used for initialisation, or for changing read/write global variables
  
 +In VPOP3 v6.7 and later, after VPOP3 has connected to an SMTP relay server, it calls the function **ServerConnected** which takes no parameters and has no return value. The **ConnectedServer** global variable is set just before this function call.
 =====Return Code Handling===== =====Return Code Handling=====
 Starting in version 5.0.0, VPOP3 will call the function **ReturnCodeHandler** every time it receives a return code from the ISP's server.  Starting in version 5.0.0, VPOP3 will call the function **ReturnCodeHandler** every time it receives a return code from the ISP's server. 
reference/lua_smtp_relay_control.1394025514.txt.gz · Last modified: 2018/11/14 10:44 (external edit)