diff --git a/NBug.Configurator/SubmitPanels/Web/Mail.cs b/NBug.Configurator/SubmitPanels/Web/Mail.cs index 28f0d83..79ab1bd 100644 --- a/NBug.Configurator/SubmitPanels/Web/Mail.cs +++ b/NBug.Configurator/SubmitPanels/Web/Mail.cs @@ -105,7 +105,7 @@ public string ConnectionString this.useAttachmentCheckBox.Checked = mail.UseAttachment; this.portNumericUpDown.Value = mail.Port; - if (this.portNumericUpDown.Value == 25 || this.portNumericUpDown.Value == 465 || mail.Port > 0) + if (this.portNumericUpDown.Value == 25 || this.portNumericUpDown.Value == 465 || mail.Port == 0) { this.defaultPortCheckBox.Checked = true; }