摘要:
public static boolean sendTextMail(MailSender mailInfo) { // 判断是否需要身份认证 MyAuthenticator authenticator = null; Properties pro = mailInfo.getProperties(); if (mailInfo.isValidate()) { // 如果需要身份认证,则创建一个密码验证器 authenticator = new MyAuthenticator(mailI... 阅读全文
posted @ 2013-03-04 15:47
息搏
阅读(216)
评论(0)
推荐(0)

浙公网安备 33010602011771号