On Mon, Feb 7, 2011 at 14:56, José Rodolfo Carrijo de Freitas <jose.freitas@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