Skip to content

Instantly share code, notes, and snippets.

@v-thomp4
Created August 19, 2020 14:16
Show Gist options
  • Save v-thomp4/d725521e26f64d99dead2b82e8561345 to your computer and use it in GitHub Desktop.
Save v-thomp4/d725521e26f64d99dead2b82e8561345 to your computer and use it in GitHub Desktop.
Bugzilla unable to establish SMTP connection
The simplest workaround without installing any additional fixes or modules is to just manually edit the params.json and set "smtp_ssl" : "starttls". Note however that changing the email settings in Bugzilla will overwrite your value so if you want a permanent solution you should edit Mailer.pm and in the if($method eq "SMTP") you should replace:
ssl => Bugzilla->params->{'smtp_ssl'},
with
$port eq "587" ? (ssl => "starttls") : (ssl => Bugzilla->params->{'smtp_ssl'}),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment