mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +00:00
fix: fix issue with sending mail when smtp relays are configured
This commit is contained in:
@@ -250,7 +250,7 @@ class SMTPSender < BaseSender
|
||||
SMTPClient::Server.new(relay.host, relay.port, ssl_mode: relay.ssl_mode)
|
||||
end.compact
|
||||
|
||||
@smtp_relays = hosts.empty? ? nil : hosts
|
||||
@smtp_relays = relays.empty? ? nil : relays
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user