Recommended way to get SMTP configuration

Is this the right place?

Discourse::Application.config.action_mailer.smtp_settings