Remove No MX lookups setting
This setting defaults to false so the relay host will be used in an MX query so multiple SMTP servers can be used. gen_smtp code states that all records returned from the MX query are attempted in order and only a permanent SMTP error will stop the client from attempting other servers in the list. Connection failures, TLS issues, etc will cause it to try the next host. If there is no MX record associated with the relay host, it automatically tries connecting to it directly. There is really no reason to expose this to end users. The default value is fine for everyone.
This commit is contained in:
parent
85710b026f
commit
6ffe15cc9f
|
@ -295,13 +295,6 @@
|
||||||
description: "`Swoosh.Adapters.SMTP` adapter specific setting",
|
description: "`Swoosh.Adapters.SMTP` adapter specific setting",
|
||||||
suggestions: [5]
|
suggestions: [5]
|
||||||
},
|
},
|
||||||
%{
|
|
||||||
group: {:subgroup, Swoosh.Adapters.SMTP},
|
|
||||||
key: :no_mx_lookups,
|
|
||||||
label: "No MX lookups",
|
|
||||||
type: :boolean,
|
|
||||||
description: "`Swoosh.Adapters.SMTP` adapter specific setting"
|
|
||||||
},
|
|
||||||
%{
|
%{
|
||||||
group: {:subgroup, Swoosh.Adapters.Sendgrid},
|
group: {:subgroup, Swoosh.Adapters.Sendgrid},
|
||||||
key: :api_key,
|
key: :api_key,
|
||||||
|
|
Loading…
Reference in a new issue