|
@@ -11,8 +11,8 @@ import java.util.Properties;
|
|
* 阿里云邮件发送
|
|
* 阿里云邮件发送
|
|
*/
|
|
*/
|
|
public class MailUtil {
|
|
public class MailUtil {
|
|
- private static final String ALIDM_SMTP_HOST = "smtp.mxhichina.com";
|
|
|
|
-// private static final String ALIDM_SMTP_HOST = "smtp.qiye.aliyun.com";
|
|
|
|
|
|
+// private static final String ALIDM_SMTP_HOST = "smtp.mxhichina.com";
|
|
|
|
+ private static final String ALIDM_SMTP_HOST = "smtp.qiye.aliyun.com";
|
|
// private static final String ALIDM_SMTP_HOST = "smtpdm.aliyun.com";
|
|
// private static final String ALIDM_SMTP_HOST = "smtpdm.aliyun.com";
|
|
|
|
|
|
private static final int ALIDM_SMTP_PORT = 25;// 或80
|
|
private static final int ALIDM_SMTP_PORT = 25;// 或80
|
|
@@ -24,7 +24,8 @@ public class MailUtil {
|
|
private String password;
|
|
private String password;
|
|
|
|
|
|
public MailUtil() {
|
|
public MailUtil() {
|
|
- this("AfterSalesInfo@sunzee.net", "Sunzee_135.-Sz246");
|
|
|
|
|
|
+// this("AfterSalesInfo@sunzee.net", "Sunzee_135.-Sz246");
|
|
|
|
+ this("AfterSalesInfo@magiccandy.cn", "Sunzee_135.-Sz246");
|
|
// this("magic_candy_sunzee@sunzee.net", "Sz123456");
|
|
// this("magic_candy_sunzee@sunzee.net", "Sz123456");
|
|
// this("magiccandy020@magiccandy.cn", "Sunzee020");
|
|
// this("magiccandy020@magiccandy.cn", "Sunzee020");
|
|
}
|
|
}
|