Hello all,
Could anyone help me, please?, I've been trying to solve this mistake but it's impossible and I don't know what I can do. This is the mistake: org.apache.jasper.JasperException: Exception in JSP: /sendmail.jsp:25 22: 23: Store store=s.getStore("pop3"); 24: store.connect("pop.correo.yahoo.es","[EMAIL PROTECTED]","bezos11"); 25: Transport.send(message); 26: 27: store.close(); 28: %> Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) causa raíz javax.servlet.ServletException org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:858) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:791) org.apache.jsp.sendmail_jsp._jspService(sendmail_jsp.java:94) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) causa raíz javax.mail.AuthenticationFailedException javax.mail.Service.connect(Service.java:306) javax.mail.Service.connect(Service.java:156) javax.mail.Service.connect(Service.java:105) javax.mail.Transport.send0(Transport.java:168) javax.mail.Transport.send(Transport.java:98) org.apache.jsp.sendmail_jsp._jspService(sendmail_jsp.java:71) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) And this the source: Properties props=new Properties(); props.put("mail.smtp.host","smtp.correo.yahoo.es"); props.put("mail.smtp.port","25"); props.put("mail.smtps.port", "465"); props.put("mail.smtp.auth", "true"); Session s=Session.getInstance(props); s.setDebug(true); MimeMessage message=new MimeMessage(s); InternetAddress from=new InternetAddress("[EMAIL PROTECTED]"); message.setFrom(from); InternetAddress to=new InternetAddress("[EMAIL PROTECTED]"); message.addRecipient(Message.RecipientType.TO,to); message.setSubject("Prueba de JavaMail"); message.setText("Saludo de JavaMail"); Store store=s.getStore("pop3"); store.connect("pop.correo.yahoo.es","[EMAIL PROTECTED]","bezos11"); Transport.send(message); store.close(); Where is my mistake?, Thanks a lot. _________________________________________________________________ Hazte tu propia televisión a la carta. Música, noticias, estrenos, cine, humor y viajes en MSN Vídeo http://video.msn.com/?mkt=es-es --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]