[seam-dev] RES: Is this the mail API you always wanted?

Dan Allen dan.j.allen at gmail.com
Mon Feb 7 15:00:08 EST 2011


On Mon, Feb 7, 2011 at 14:56, José Rodolfo Carrijo de Freitas <
jose.freitas at softplan.com.br> wrote:

>  It Looks really nice!
>
>
>
> If I may suggest something, maybe we can add the possibility to use just *
> “.send()”* ( keeping the send(session) method ).
>
> If there’s no specific session argument, the module could handle the
> injection within itself.
>

Yep, Emmanuel mentioned that as well. And I'll second both of you :)

Even if you use send(), you would still have flexibility in how the mail
session is picked, because you could provide an alternative producer to
create your own custom session. All that matters is that Seam Mail
references a bean with type Session. So that version of send() will likely
be preferred.

-Dan

-- 
Dan Allen
Principal Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597

http://www.google.com/profiles/dan.j.allen#about
http://mojavelinux.com
http://mojavelinux.com/seaminaction
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/seam-dev/attachments/20110207/e381f32e/attachment.html 


More information about the seam-dev mailing list