lyhzzz 2 meses atrás
pai
commit
45d4ccdb88

+ 55 - 3
src/main/java/com/fdkankan/ucenter/controller/TestController.java

@@ -111,9 +111,61 @@ public class TestController {
     }
 
     public static void main(String[] args) throws GeneralSecurityException {
-
-        SendMailAcceUtils.sendMail("luomin@cgaii.com", SendMailAcceUtils.CN_CODE_SUBJECT,
-                SendMailAcceUtils.CN_CODE_MSG.replace("${code}", "123456"), null);
+        String subject ="4DKanKan Invoice Function is Now Live!";
+        String msg = "<p>Dear 4DKanKan Users,</p>\n" +
+                "<p>We are pleased to inform you that the <strong>Invoice function is now live on the 4DKanKan platform</strong>.&nbsp;(platform.4dkankan.ai)</p>\n" +
+                "<p>You can now easily generate and receive your invoice directly through your account by following the steps below:</p>\n" +
+                "<p><strong>Steps to generate an invoice:</strong></p>\n" +
+                "<ol>\n" +
+                "<li>Go to <strong>&ldquo;My Order&rdquo;</strong></li>\n" +
+                "<li>Click <strong>&ldquo;Membership Order&rdquo;</strong></li>\n" +
+                "<li>Select <strong>&ldquo;Invoice Info&rdquo;</strong></li>\n" +
+                "<li>Fill in and submit the purchaser&rsquo;s information</li>\n" +
+                "</ol>\n" +
+                "<p>After submission, please allow approximately <strong>2&ndash;5 minutes</strong>&nbsp;for processing.<br />The invoice will be <strong>automatically sent to the email address</strong>&nbsp;provided in <strong>&ldquo;Invoice Info&rdquo;</strong>.</p>\n" +
+                "<p>You can simply <strong>download the invoice directly from the email</strong>.</p>\n" +
+                "<p>If you have any questions or need assistance, please feel free to contact us.</p>\n" +
+                "<p>Thank you for your continued support of <strong>4DKanKan</strong>.</p>\n" +
+                "<p>Best regards,</p>\n" +
+                "<p>4DKanKan Team</p>\n" +
+                "<p>-------------------</p>\n" +
+                "<p><img src=\"https://4dkk.4dage.com/ucenter/image/4dkankan_en.png\" /></p>";
+        String[] res = {
+                "olivier.roussel@iadfrance.fr",
+                "contact@imagency.fr",
+                "contact@altea-db.com",
+                "kderejczyk@tpi.com.pl",
+                "suporte@cpetecnologia.com.br",
+                "4Dkankan1@widdim.com",
+                "contact@arkhe-co.fr",
+                "info@obnova-budov.sk",
+                "direction@archisphere.fr",
+                "gian.franchi@franchifly.ch",
+                "stephan.gora@gmail.com",
+                "renato.torres@cpetecnologia.com.br",
+                "thiagoalmakul@gmail.com",
+                "panlilan@4dage.com",
+                "wangdan@cgaii.com",
+                "vinduc@gmail.com",
+                "eliane.xie@4dkankan.ai",
+                "laurent@futur3d.re",
+                "thiagomakul@primeasbuilt.com.br",
+                "Frazier.dezmond@gmail.com",
+                "cristidum@gmail.com",
+                "contact@sandrinemercurio.com",
+                "contact@energiaconseil.fr",
+                "thibaut.isambert@opexium.fr",
+                "cjh20251225@163.com",
+                "cjh20251226@163.com",
+                "cjh20251224@163.com",
+                "cjh20251223@163.com",
+                "cjh20251222@163.com",
+                "josh.zheng@szcoffee.org",
+                "daviddacruz@century21.fr",
+        };
+        for (String userName : res) {
+            SendMailAcceUtils.sendMail(userName, subject,msg, null);
+        }
     }
 
 }