You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Chris Cardona <ja...@yahoo.com> on 2005/08/12 08:16:12 UTC
JavaMail service providers
Does Geronimo have its own implementation of JavaMail
service providers like SMTP, POP3, IMAP, etc.? If I
want to send a patch that relies on sending some test
mail and I dont want to use Suns JavaMail SMTP
service provider what are my options?
Thanks for any help/suggestion.
Chris
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Re: JavaMail service providers
Posted by Jeremy Boynes <jb...@apache.org>.
Dave Colasurdo wrote:
> Is the Javamail provider implementation an optional portion of the J2EE
> specification? J2EE 1.4 states
>
> "The JavaMail API specification does not require any specific protocol
> providers, but the JavaMail reference implementation includes an
> IMAP message store provider and an SMTP message transport provider."
>
The only provider that J2EE requires is the SMTP transport and we have
one of those (somewhere, when Geir finds it :-) ). The others contained
in the JavaMail RI are for accessing stores.
> Nonetheless, is it still useful to have default providers available in
> geronimo? Seems like both applications and the new javamail portlet
> could take advantage of them..
>
The portlet is for configuring an SMTP transport so that should work (at
least with minimal effort if it doesn't now). It probably needs beefing
up to deal with odd mailservers and to add support for more complex
features (e.g. TLS) but it can send basic emails.
The SMTP transport usecase is fairly obvious - it allows an application
to send emails. Inbound SMTP would also be useful but unfortunately
JavaMail does not support that, about the best you can do would be an
inbound J2CA adaptor that delivered Messages to an MDB or other destination.
The other providers (e.g. IMAP or POP) would allow components to access
stores but that is a polling event that would need to be triggered by
something. This means there is a bit more application code needed to
handle accessing the store (like detecting what is a new mail) so adding
in the overhead of having to grab a provider from elsewhere is probably
not too problematic.
Finally, we did this JavaMail stuff because there was no option
available. Now the RI is available under CDDL we might want to consider
restributing that. If we decide not to then we should also consider
whether these providers would be better off as part of Apache James.
--
Jeremy
Re: JavaMail service providers
Posted by Dave Colasurdo <da...@earthlink.net>.
Is the Javamail provider implementation an optional portion of the J2EE
specification? J2EE 1.4 states
"The JavaMail API specification does not require any specific protocol
providers, but the JavaMail reference implementation includes an
IMAP message store provider and an SMTP message transport provider."
Nonetheless, is it still useful to have default providers available in
geronimo? Seems like both applications and the new javamail portlet
could take advantage of them..
Geir Magnusson Jr. wrote:
> I'm not sure where they went... I'll have to find them..
>
> On Aug 15, 2005, at 12:54 PM, Chris Cardona wrote:
>
>> Can you give more information about this SMTP service
>> provider or you can just point me where to find some
>> info.
>>
>> The patch is for the Java Mail portlet for the console
>> and part of it is a way to send out test messages. The
>> service providers are also needed if an application
>> wants to use the mail sessions created from the Java
>> Mail portlet.
>>
>> Thanks,
>> chris
>>
>> --- "Geir Magnusson Jr." <ge...@apache.org> wrote:
>>
>>
>>>
>>> On Aug 12, 2005, at 2:16 AM, Chris Cardona wrote:
>>>
>>>
>>>> Does Geronimo have its own implementation of
>>>>
>>> JavaMail
>>>
>>>> service providers like SMTP, POP3, IMAP, etc.? If
>>>>
>>> I
>>>
>>> We have SMTP
>>>
>>>
>>>> want to send a patch that relies on sending some
>>>>
>>> test
>>>
>>>> mail and I don’t want to use Sun’s JavaMail SMTP
>>>> service provider what are my options?
>>>>
>>>
>>> Do you mean your patch for something wants to send
>>> mail?
>>>
>>>
>>>>
>>>> Thanks for any help/suggestion.
>>>>
>>>> Chris
>>>>
>>>>
>>>>
>>>>
>>>>
>>> ____________________________________________________
>>>
>>>> Start your day with Yahoo! - make it your home
>>>>
>>> page
>>>
>>>> http://www.yahoo.com/r/hs
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> Geir Magnusson Jr
>>> +1-203-665-6437
>>> geirm@apache.org
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>> ____________________________________________________
>> Start your day with Yahoo! - make it your home page
>> http://www.yahoo.com/r/hs
>>
>>
>>
>
Re: JavaMail service providers
Posted by "Geir Magnusson Jr." <ge...@apache.org>.
I'm not sure where they went... I'll have to find them..
On Aug 15, 2005, at 12:54 PM, Chris Cardona wrote:
> Can you give more information about this SMTP service
> provider or you can just point me where to find some
> info.
>
> The patch is for the Java Mail portlet for the console
> and part of it is a way to send out test messages. The
> service providers are also needed if an application
> wants to use the mail sessions created from the Java
> Mail portlet.
>
> Thanks,
> chris
>
> --- "Geir Magnusson Jr." <ge...@apache.org> wrote:
>
>
>>
>> On Aug 12, 2005, at 2:16 AM, Chris Cardona wrote:
>>
>>
>>> Does Geronimo have its own implementation of
>>>
>> JavaMail
>>
>>> service providers like SMTP, POP3, IMAP, etc.? If
>>>
>> I
>>
>> We have SMTP
>>
>>
>>> want to send a patch that relies on sending some
>>>
>> test
>>
>>> mail and I don’t want to use Sun’s JavaMail SMTP
>>> service provider what are my options?
>>>
>>
>> Do you mean your patch for something wants to send
>> mail?
>>
>>
>>>
>>> Thanks for any help/suggestion.
>>>
>>> Chris
>>>
>>>
>>>
>>>
>>>
>> ____________________________________________________
>>
>>> Start your day with Yahoo! - make it your home
>>>
>> page
>>
>>> http://www.yahoo.com/r/hs
>>>
>>>
>>>
>>>
>>
>> --
>> Geir Magnusson Jr
>> +1-203-665-6437
>> geirm@apache.org
>>
>>
>>
>>
>
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
>
--
Geir Magnusson Jr +1-203-665-6437
geirm@apache.org
Re: JavaMail service providers
Posted by Chris Cardona <ja...@yahoo.com>.
Can you give more information about this SMTP service
provider or you can just point me where to find some
info.
The patch is for the Java Mail portlet for the console
and part of it is a way to send out test messages. The
service providers are also needed if an application
wants to use the mail sessions created from the Java
Mail portlet.
Thanks,
chris
--- "Geir Magnusson Jr." <ge...@apache.org> wrote:
>
> On Aug 12, 2005, at 2:16 AM, Chris Cardona wrote:
>
> > Does Geronimo have its own implementation of
> JavaMail
> > service providers like SMTP, POP3, IMAP, etc.? If
> I
>
> We have SMTP
>
> > want to send a patch that relies on sending some
> test
> > mail and I dont want to use Suns JavaMail SMTP
> > service provider what are my options?
>
> Do you mean your patch for something wants to send
> mail?
>
> >
> > Thanks for any help/suggestion.
> >
> > Chris
> >
> >
> >
> >
> ____________________________________________________
> > Start your day with Yahoo! - make it your home
> page
> > http://www.yahoo.com/r/hs
> >
> >
> >
>
> --
> Geir Magnusson Jr
> +1-203-665-6437
> geirm@apache.org
>
>
>
____________________________________________________
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
Re: JavaMail service providers
Posted by "Geir Magnusson Jr." <ge...@apache.org>.
On Aug 12, 2005, at 2:16 AM, Chris Cardona wrote:
> Does Geronimo have its own implementation of JavaMail
> service providers like SMTP, POP3, IMAP, etc.? If I
We have SMTP
> want to send a patch that relies on sending some test
> mail and I don’t want to use Sun’s JavaMail SMTP
> service provider what are my options?
Do you mean your patch for something wants to send mail?
>
> Thanks for any help/suggestion.
>
> Chris
>
>
>
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
>
>
>
--
Geir Magnusson Jr +1-203-665-6437
geirm@apache.org