This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
reference:lua_smtp_relay_control [2014/03/05 13:20] – [Global Variables] paul | reference:lua_smtp_relay_control [2014/03/05 13:21] – [Initialisation] paul | ||
---|---|---|---|
Line 21: | Line 21: | ||
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, | 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, | ||
+ | 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. |