Skip to content

Commit

Permalink
fix: fix issue with sending mail when smtp relays are configured
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcooke committed Mar 5, 2024
1 parent 78cb326 commit 6dd6e29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/senders/smtp_sender.rb
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def smtp_relays
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
Expand Down

0 comments on commit 6dd6e29

Please sign in to comment.