I have SEAM email working by configuring the smtp server in components.xml. However, I have a requirement to read the configuration from a db table, and I can't figure out how to set the mail session's configuration.
Create a component that extends org.jboss.seam.mail.MailSession called org.jboss.seam.mail.mailSession and add your own method to @Unwrap a javax.mail.Session.