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
);
>
> 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
");
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:
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 =
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