From f6b8aec8130452794be499432b400ece7ba8f214 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 9 Dec 2016 20:32:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E9=82=AE=E4=BB=B6?= =?UTF-8?q?=E5=8F=91=E9=80=81=E6=A1=88=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- src/main/java/pw/yumc/YumCore/mail/MailAPI.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/pw/yumc/YumCore/mail/MailAPI.java b/src/main/java/pw/yumc/YumCore/mail/MailAPI.java index f016b9e..62ba643 100644 --- a/src/main/java/pw/yumc/YumCore/mail/MailAPI.java +++ b/src/main/java/pw/yumc/YumCore/mail/MailAPI.java @@ -9,6 +9,10 @@ import com.google.common.net.HostAndPort; */ public class MailAPI { + public static void main(String[] args) { + send(HostAndPort.fromParts("smtp.exmail.qq.com", 465), "root@yumc.pw", "admin@yumc.pw", "Java邮件测试", "邮件测试", "root@yumc.pw", "Email2Send"); + } + /** * 快速发信 *