package com.java.mail; import javax.mail.Authenticator; import javax.mail.PasswordAuthentication; public class MyAuthenticator extends Authenticator { private String username = null; private String password = null; public MyAuthenticator() { }; public MyAuthenticator(String username, String password) { this.username = username; this.password = password; } protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(username, password); } }

1358849392 LV21
2022年12月27日
moomin709 LV24
2022年7月6日
瓜不皮 LV15
2020年12月9日
kayok LV19
2019年4月17日
2469684164 LV10
2019年3月16日
落雪飞花 LV6
2018年12月7日
Joyyoe LV4
2018年10月9日
nanjing2017 LV15
2017年9月8日
hkp0521 LV7
2017年8月23日
cas LV9
2017年5月27日