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’] = ‘emailserver.domain.org
gitlab_rails[‘smtp_port’] = 587
gitlab_rails[‘gitlab_email_from’] = ‘gitlab@domain.org’
gitlab_rails[‘gitlab_email_reply_to’] = ‘gitlab@domain.org’
gitlab_rails[‘smtp_domain’] = ‘emaildomain.org
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.