private void CheckSMTPSettings()
        {
            // If our SMTP Server settings haven't been setup, ask the user to set them up
            if (ManagementInterfaceClient.ManagementInterface.SMTPServer.Length == 0 && Properties.Settings.Default.ManagementInterfaceType != WOSI.CallButler.ManagementInterface.CallButlerManagementInterfaceType.Hosted)
            {
                if (MessageBox.Show(this, CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.ExtensionEditorForm_EnterSMTP), CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.ExtensionEditorForm_EmailConfiguration), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                    SMTPServerForm smtpForm = new SMTPServerForm();

                    smtpForm.ShowDialog(this);
                }
            }
        }
Exemplo n.º 2
0
        private void CheckSMTPSettings()
        {
            // If our SMTP Server settings haven't been setup, ask the user to set them up
            if (ManagementInterfaceClient.ManagementInterface.SMTPServer.Length == 0 && Properties.Settings.Default.ManagementInterfaceType != WOSI.CallButler.ManagementInterface.CallButlerManagementInterfaceType.Hosted)
            {
                if (MessageBox.Show(this, CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.ExtensionEditorForm_EnterSMTP), CallButler.Manager.Utils.PrivateLabelUtils.ReplaceProductName(Properties.LocalizedStrings.ExtensionEditorForm_EmailConfiguration), MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
                {
                    SMTPServerForm smtpForm = new SMTPServerForm();

                    smtpForm.ShowDialog(this);
                }
            }
        }