偶快疯了,高手们帮忙看看 我还写了一个调用javabean的,运行到transport.sendMessage就过不去,为了啥? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 : javax.mail.MessagingException: 505 Authentication required protected PasswordAuthentication getPasswordAuthentication改成public PasswordAuthentication getPasswordAuthentication 感觉程序应该是完全对的呀。试试直接写:Transport.send(message);去掉:Transport transport = ss.getTransport("smtp"); //注意是smtp服务器transport.connect("101.205.18.13","[email protected]","1234567");transport.sendMessage(message,message.getAllRecipients()); to: java831(希望) 兄还是报错,Error 500: Sending failed; nested exception is: javax.mail.MessagingException: 505 Authentication required javax.mail.MessagingException: 505 Authentication required这是什么错?? 到网上搜索一下websphere的出错信息 有的邮件服务器需要验证auth为true,不需要验证的则为false那么props.put("mail.smtp.auth","true");改为props.put("mail.smtp.auth","false"); http://www.chinaunix.net/bbsjh/14/472.html 偶找到问题所在了,好像是websphere中要配置以下smtp的25端口,偶不是很清楚,偶是转到了tomcat才发出去的 applet中通过JNA调用DLL报错,求指点 hibernate 怎么批量insert啊?? 如何让查询到的结果再返回到查询窗口中 关于servlet和容器等几个基础问题,很基础,请教了~~ 高手指教一下,为什么鼠标指导那个地方不显示? 滚动条 毕设中遇到的难提,希望大家给个制作方法或者思路!谢谢,分不够再加! 如何获取面面刷新事件?高手指点下 请问谁能告诉我jsp链接mssql问题 简单的JSP加JAVABEAN出现HTTP Status 500错误,求教 寻求一份JBuilder7与weblogic6.1集成配说明文档 发送邮件的奇怪问题
改成
public PasswordAuthentication getPasswordAuthentication
试试直接写:
Transport.send(message);
去掉:
Transport transport = ss.getTransport("smtp"); //注意是smtp服务器
transport.connect("101.205.18.13","[email protected]","1234567");
transport.sendMessage(message,message.getAllRecipients());
还是报错,Error 500: Sending failed; nested exception is: javax.mail.MessagingException: 505 Authentication required
props.put("mail.smtp.auth","true");改为
props.put("mail.smtp.auth","false");