mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-08 23:36:42 +08:00
…ailBounceHandling (#38028)"
This reverts commit e1d4b1637c.
This caused unexpected CI issues. Reverting while we investigate.
13 lines
359 B
Ruby
13 lines
359 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ProblemCheck::MissingMailgunApiKey < ProblemCheck
|
|
self.priority = "low"
|
|
|
|
def call
|
|
return no_problem if !SiteSetting.reply_by_email_enabled
|
|
return no_problem if ActionMailer::Base.smtp_settings[:address] != "smtp.mailgun.org"
|
|
return no_problem if SiteSetting.mailgun_api_key.present?
|
|
|
|
problem
|
|
end
|
|
end
|