[
http://jira.jboss.com/jira/browse/JBSEAM-626?page=comments#action_12349921 ]
Peter Muir commented on JBSEAM-626:
-----------------------------------
* I agree, a mail session should be application scoped
* Advantage of the error handling was to make the classic use-case of form-based email as
simple as possible but it does make more complex scenarios harder. What about still
throwing an exception (which can be handled by seam exception handling) and also adding a
message to faces?
* Transport.send(Message) works and makes the SmtpSession class redundant.
* A patch for the committed version of MimeMessage is attached which fixes a bug in
getting the session and removes message.saveChanges() (which Transport.send() does for
us).
Suppport Email (send and receive)
---------------------------------
Key: JBSEAM-626
URL:
http://jira.jboss.com/jira/browse/JBSEAM-626
Project: JBoss Seam
Issue Type: Patch
Components: Core
Reporter: Peter Muir
Assigned To: Gavin King
Fix For: 1.1.1.GA
Attachments: jboss-seam-mailer-outbound.zip, jboss-seam-mailer-outbound.zip,
mailsession.patch, Message.patch, SmtpSession.patch
This adds email support to Seam.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira