RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-17 Thread Carlos Morales Diego
va:802) > Date: Thu, 17 Jul 2008 12:47:40 +0300 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: javax.servlet.ServletException: Could not connect to SMTP host: > localhost, port: 25 > > try this .. > props.put("mail.smtp.host","smtp.c

Re: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-17 Thread Youssef Mohammed
); > > Store store=s.getStore("pop3"); > store.connect("pop.correo.yahoo.es","[EMAIL PROTECTED] > ","bezos11"); > Transport.send(message); > >store.close(); > > And I don't know. Any advice? > &g

RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-17 Thread Carlos Morales Diego
"); store.connect("pop.correo.yahoo.es","[EMAIL PROTECTED]","bezos11"); Transport.send(message); store.close(); And I don't know. Any advice? Thanks so much > Subject: RE: javax.servlet.ServletException: Could not connect to SMTP host:

RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-14 Thread Jonas Wagner
Hello, It looks to me as if you didn't configure any SMTP server. You need to do something like: Properties smtpProperties = new Properties(); smtpProperties.put("mail.smtp.host", "smtp.example.com"); smtpProperties.put("mail.smtp.auth", "true"); // create the mime message Session session =

RE: javax.servlet.ServletException: Could not connect to SMTP host: localhost, port: 25

2008-07-14 Thread Carlos Morales Diego
This is the source Mail has been sent Compruebe bandeja de entrada Mail has been sent Pulse aquĆ­ para enviar otro -- > From: [EMAIL PROTECTED] > To: users@tomcat.apa