怎么用java语言判断登录邮箱成功啊 我做了一个邮箱登录界面,就想用户输入用户名,密码,邮箱smtp服务器后,点击“登录”按钮,若存在这个用户,则就可以跳到我编写的另一个邮箱登录成功后的界面,若没有这个用户,则要重新输入,邮箱服务器是依赖sohu或是163的服务器的,拜托大家教教 我啊,非常感谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 判断后台数据库,select * from table where username and password 拜托大家教教我 ,比如下面这段代码:try{ Properties props=new Properties(); props.setProperty("mail.transport.protocol", "smtp"); props.setProperty("mail.smtp.host",SMTPServer); props.setProperty("mail.smtp.auth","true"); Session session=Session.getDefaultInstance(props,new Authenticator() { public PasswordAuthentication getPasswordAuthentication(){ return new PasswordAuthentication(textCfigAccount.getText(),Configuration.getPassword()); } }); }session从服务器返回什么值就知道成功登录了?? 为什么要使用内部类 日历记事本代码 源文件编译成jar包的问题 如何合并文件 关于javaw.exe进程的问题 为什么applet swing窗口会反复弹出多次? 我想问问大家java中如何做报表 大家过年好,小弟有个小问题 新手----怎样将ACCESS里的数据倒到ORACLE上? 我是java的初学者,问一个很菜的问题,还望各位指教!! 为什么去掉 setvisible(false) 程序就不能正常运行呢? 对象名可以访问私有成员,这句话对吗?
select * from table where username and password
try{
Properties props=new Properties();
props.setProperty("mail.transport.protocol", "smtp");
props.setProperty("mail.smtp.host",SMTPServer);
props.setProperty("mail.smtp.auth","true");
Session session=Session.getDefaultInstance(props,new Authenticator()
{
public PasswordAuthentication getPasswordAuthentication(){
return new PasswordAuthentication(textCfigAccount.getText(),Configuration.getPassword());
}
});
}session从服务器返回什么值就知道成功登录了??