I have an app with JBuilder 3 C/S + MySQL 3.23
+ Apache + JServ 1.1 + [NT 4.0 or RH 6.2].
Then, after process some data, I would like to send
an e-mail to the customer. However, JServ arises an
exception like this:
javax.mail.NoSuchProviderException: No provider for Address type: rfc822
at javax.mail.Session.getTransport(Session.java:475)
at javax.mail.Transport.send0(Compiled Code)
at javax.mail.Transport.send(Transport.java:80)
at Comum.Mail.EnviarMsg(Mail.java:50)
at Consulta.ServletResConsulta.OpEnviar(ServletResConsulta.java:959)
Does anyone know what's the problem ???
The most likely problem is that a property is not set properly. You need
to set the transport property 'mail.transport.protocol'. If it is smtp,
then you also need to set the 'mail.smtp.host' property.
tim.