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

Cody Lerum cody.lerum at gmail.com
Mon Feb 7 15:03:43 EST 2011


Agreed.

Much of the battle had to do with allowing the user the ability to
choose multiple sessions and the default injection of a MailSession
was overlooked. I'll work that back in.

-C

On Mon, Feb 7, 2011 at 1:00 PM, Dan Allen <dan.j.allen at gmail.com> wrote:
> 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
>
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
>



More information about the seam-dev mailing list