mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-21 10:53:42 +02:00
MINOR: hlua_fcn/mailers: handle timeout mail from mailers section
As the example/lua/mailers.lua script does its best to mimic the c-mailer implementation, it should support the "timeout mail" directive as well. This could be backported in 2.8.
This commit is contained in:
committed by
Christopher Faulet
parent
b2f7069479
commit
b58bd9794f
@@ -1198,6 +1198,12 @@ ProxyMailers class
|
||||
Each array entry is a name:desc pair where desc represents the full server
|
||||
address (including port) as described in haproxy's configuration file.
|
||||
|
||||
.. js:attribute:: ProxyMailers.mailservers_timeout
|
||||
|
||||
An integer representing the maximum time in milliseconds to wait for the
|
||||
email to be sent. See "timeout mail" directive from "mailers" section in
|
||||
haproxy configuration file.
|
||||
|
||||
.. js:attribute:: ProxyMailers.smtp_hostname
|
||||
|
||||
A string containing the hostname to use for the SMTP transaction.
|
||||
|
||||
Reference in New Issue
Block a user