日期:2014-05-20  浏览次数:20884 次

j2me发邮件新问题!
tomcat下提示:
smtp.263.neteric.zhan@263.net//初始化
发送到:shaer111lxj@163.com     //测试邮件地址已经读取到
标题:11111111111111111             //测试标题读取到
内容2222222222222222222             //测试内容也读取到
javax.mail.SendFailedException:   Invalid   Addresses;
    nested   exception   is:
com.sun.mail.smtp.SMTPAddressFailedException:   554   auth   login   first

at   com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
at   com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
at   javax.mail.Transport.send0(Transport.java:169)
at   javax.mail.Transport.send(Transport.java:98)
at   servlet.MaileServlet.doPost(MaileServlet.java:71)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at   org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at   org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at   org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at   org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at   org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at   org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at   org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at   java.lang.Thread.run(Thread.java:595)
Caused   by:   com.sun.mail.smtp.SMTPAddressFailedException:   554   auth   login   first

at   com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1094)
...   30   more
不知道是哪里错了?
我真的很着急,弄了好久了,先谢谢大家了!

------解决方案--------------------
没弄过,帮顶