diff --git a/designer_base/src/com/fr/design/javascript/EmailPane.java b/designer_base/src/com/fr/design/javascript/EmailPane.java index 701183a89a..5072ab79c0 100644 --- a/designer_base/src/com/fr/design/javascript/EmailPane.java +++ b/designer_base/src/com/fr/design/javascript/EmailPane.java @@ -1,6 +1,6 @@ package com.fr.design.javascript; -import com.fr.config.EmailConfig; +import com.fr.config.EmailServerConfig; import com.fr.design.beans.FurtherBasicBeanPane; import com.fr.design.constants.UIConstants; import com.fr.design.gui.icheckbox.UICheckBox; @@ -51,7 +51,7 @@ public class EmailPane extends FurtherBasicBeanPane { initCenterPane(mainTextLabel, scrollPane, fill, preferred); this.add(centerPane, BorderLayout.CENTER); mainTextEditor.setAutoscrolls(true); - checkEmailConfig(EmailConfig.getInstance().isEmailConfigValid()); + checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid()); } /** @@ -113,7 +113,7 @@ public class EmailPane extends FurtherBasicBeanPane { if (showTplContent != null) { showTplContent.setSelected(ob ==null ? false: ob.isShowTplContent()); } - checkEmailConfig(EmailConfig.getInstance().isEmailConfigValid()); + checkEmailConfig(EmailServerConfig.getInstance().isEmailConfigValid()); } @Override