public void LoadData()
{
hMailServer.Application app = APICreator.Application;
hMailServer.Settings settings = app.Settings;
checkSMTP.Checked = settings.ServiceSMTP;
checkPOP3.Checked = settings.ServicePOP3;
checkIMAP.Checked = settings.ServiceIMAP;
Marshal.ReleaseComObject(settings);
}