Emails disabled! Interceptor prevented

We have an Exchange on prem environment. We use port 587 with no auth. The Exchange admin has created a send connector. I went into /etc/gitlab/gitlab.rb and adding the lines
gitlab_rails[‘smtp_enable’] = true
gitlab_rails[‘smtp_address’] = ‘
gitlab_rails[‘smtp_port’] = 587
gitlab_rails[‘gitlab_email_from’] = ‘’
gitlab_rails[‘gitlab_email_reply_to’] = ‘’
gitlab_rails[‘smtp_domain’] = ‘
gitlab_rails[‘smtp_authentication’] = false
gitlab_rails[‘smtp_enable_starttls_auto’] = true
Then I run the reconfigure command for GitLab.
When I go into the ruby console and try and send a test email I still get
Emails disabled! Interceptor prevented sending mail
Sort of lost as to where to go from here. We restarted sidekiq and looked tailed the production.log and sidekiq.log while testing an email send and didn’t get an useful output. Basically in the production.log it just gave the same error.