4 messages in com.mysql.lists.javaRe: Sending e-mails from servlet+mysq...
FromSent OnAttachments
Edilmar Alves13 May 2000 07:33 
Tim Endres13 May 2000 09:25 
Edilmar Alves15 May 2000 11:50 
Tim Endres15 May 2000 13:16 
Subject:Re: Sending e-mails from servlet+mysql app
From:Tim Endres (ti@trustice.com)
Date:05/13/2000 09:25:43 AM
List:com.mysql.lists.java

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.