|
@@ -238,8 +238,8 @@ public class IndexController extends BaseController {
|
|
|
|
|
|
try {
|
|
|
String str = "您有样品申请已提交,请注意查收";
|
|
|
- AliyunMail.sendMail("hms@shjieguan.com", "Jieguan501", AliyunMail.ALIDM_SMTP_HOST, AliyunMail.ALIDM_SMTP_PORT, "样品申请提交",
|
|
|
- str, "wechat_pc@elementis.com", null, null);
|
|
|
+ AliyunMail.sendMail(PropKit.get("fromEmail"), PropKit.get("emailPass"), AliyunMail.ALIDM_SMTP_HOST, AliyunMail.ALIDM_SMTP_PORT, "样品申请提交",
|
|
|
+ str, PropKit.get("fixEmail"), null, null);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|
|
@@ -498,4 +498,5 @@ public class IndexController extends BaseController {
|
|
|
renderJson(Ret.ok().set("msg","success"));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
}
|