|
@@ -64,6 +64,25 @@ public class SendMailAcceUtils {
|
|
|
"<br><br><br>" +
|
|
|
"<div> Note: This is an auto-sent Email, please do not reply directly. May you have any questions, please contact our customer service.</div><br>";
|
|
|
|
|
|
+ public static void main(String[] args) throws GeneralSecurityException {
|
|
|
+
|
|
|
+ String msg = "<p>Dear Valued Customers, </p>\n" +
|
|
|
+ "<p> </p>\n" +
|
|
|
+ "<p>The scene \"Hotel\" has been successfully calculated,please review the following: <a href=\"scene_link\" target=\"_blank\" rel=\"noopener\">scene_link</a>#/ </p>\n" +
|
|
|
+ "<p> </p>\n" +
|
|
|
+ "<p>If you need to edit the sense, the User Manual can provide instructions: <a href=\"help_link\" target=\"_blank\" rel=\"noopener\">help_link</a>#/service/use/help </p>\n" +
|
|
|
+ "<p> </p>\n" +
|
|
|
+ "<p>This email was automatically sent by the 4DAGE, please do not reply. </p>\n" +
|
|
|
+ "<p> </p>\n" +
|
|
|
+ "<p>Sincerely, </p>\n" +
|
|
|
+ "<p>4Dage Support Team</p>";
|
|
|
+ msg = msg.replaceAll("scene_link", "https://test.4dkankan.com/spg.html?m=KJ-sCqJv2aS").replaceAll("help_link", "https://test.4dkankan.com/spg.html?m=KJ-sCqJv2aS");
|
|
|
+
|
|
|
+ SendMailAcceUtils.sendMail("4Dkankan@4dage.com", "6996790AAaa",
|
|
|
+ "smtp.exmail.qq.com", "879865044@qq.com", "The Scene Calculation is Now Complete.", msg, null);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
*
|
|
|
* @param userName 发送人账号
|