我也遇到了一个问题,总是报553的错,好像是权限问题,邮件不能发,用的是smtp.163.com
解决方案 »
- spring的ioc和依赖注入是同一个概念么????????????????????????
- Exception sending context initialized event to listener instance of class org.
- extjs tree双击获得返回值
- struts2访问未指定Action问题
- 彩信MM7开发请教,请高手解决
- 一个字,怪,hibernate查询ORACLE的日期格式问题
- 请高手推荐下 介绍 java分布式的书,机群,分布式缓存的书
- 编译怎么总是不通过,新手的郁闷.........
- 输出疑问
- 哪儿能下载到《JAVA 与模式》?
- 关于jdbc访问数据库的问题~~~~~~~~~````
- 谁能给我一个Struts动态表单的返回一个表格的所有数据。[高手指点]
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: MailAuthenticator.javapackage com.zeal.mail;import javax.mail.Authenticator;
import javax.mail.PasswordAuthentication;public class MailAuthenticator extends Authenticator
{ public MailAuthenticator()
{
user = "";
password = "";
} public MailAuthenticator(String user, String password)
{
this.user = user;
this.password = password;
} public MailAuthenticator(String user)
{
this.user = user;
password = "";
} public PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication(user, password);
} private String user;
private String password;
}