geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <rick...@gmail.com>
Subject Re: Geronimo 1.1.1 Pop3 problem
Date Tue, 29 May 2007 20:59:30 GMT
Alessandro Pilonato wrote:
> Good morning,
>
> I would to know the functionality about  pop3 javamail on geronimo 1.1.1.
>
> I premise that I already use the geronimo javamail smtp configuration.
>
> I have an application ear , with ejb 2.0.
>
> For smtp,
>
> I define the dependencies,  a gbean on my geronimo-application.xml, I 
> define the resource ref in my web.xml and geronimo-web.xml and my code 
> look like this:
>
>         InitialContext context = new InitialContext();
>         Session mailSession = (Session) 
> context.lookup("java:comp/env/mail/MailSession");
>         Transport transport = mailSession.getTransport("smtp");
>
>
> For smtp, the application works fine.
>
> What's wrong for pop3 ???
Geronimo 1.1.1 does not have pop3 support.  The 1.2 and 2.0 releases 
will be the first ones that support the POP3 provider.


>
> What type of configuration I need to do ? In your documentation I 
> didn't find nothing.
>
> The exception throw is: "Unable to locate provider for protocol: pop3"
>
>
> Thanks in advance.
>
>
> Best regards,
>
> Alessandro Pilonato.
> -- 
> Alessandro Pilonato
> P.T.Q.S. s.r.l.
> V.le Regione Veneto,19
> 35127 - Padova
> Tel   0498703272
> Fax   0498709183


Mime
View raw message