User Tools

Site Tools


reference:lua_smtp_mx_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
Last revisionBoth sides next revision
reference:lua_smtp_mx_control [2016/12/16 10:10] – [Lua SMTP MX Control] paulreference:lua_smtp_mx_control [2018/11/14 10:45] – external edit 127.0.0.1
Line 30: Line 30:
 =====Remote Server Settings===== =====Remote Server Settings=====
 If you need to tweak how VPOP3 connects to remote servers you can write a **ServerDetails** function. VPOP3 calls this function before sending each message. If you need to tweak how VPOP3 connects to remote servers you can write a **ServerDetails** function. VPOP3 calls this function before sending each message.
 +
 +(This function was [[https://bugtracker.pscs.co.uk/view.php?id=968|added in VPOP3 v6.5]])
  
 The function signature is: The function signature is:
Line 64: Line 66:
 Example - don't use SSL when connecting to 'mail.broken.com' Example - don't use SSL when connecting to 'mail.broken.com'
  
-  function ServerDetails(params, headers actions) +  function ServerDetails(params, headersactions) 
-    if (params["server"] == "mail.broken.com"+    if params["server"] == "mail.broken.com" then
       actions["tryTLS"] = 0       actions["tryTLS"] = 0
     end     end
reference/lua_smtp_mx_control.txt · Last modified: 2023/07/28 16:41 by paul