feat: 添加邮件发送案例

Signed-off-by: 502647092 <admin@yumc.pw>
merge/1/MERGE
502647092 2016-12-09 20:32:23 +08:00
parent 1b37f3689e
commit f6b8aec813
1 changed files with 4 additions and 0 deletions

View File

@ -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");
}
/**
*
*