[jboss-user] [jBPM Development] - Mail template for custom MailProducer

Huisheng Xu do-not-reply at jboss.com
Mon Apr 19 02:22:35 EDT 2010


Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion

"Mail template for custom MailProducer"

To view the discussion, visit: http://community.jboss.org/message/538198#538198

--------------------------------------------------------------
Hi kevin,
  You could get MailTemplate using EnvironmentImpl. Like this:


MailTemplateRegistry templateRegistry = EnvironmentImpl
   .getFromCurrent(MailTemplateRegistry.class);
 
 
 
MailTemplate template = templateRegistry.getTemplate(
   "test-template");


--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/538198#538198]

Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100419/ec09ef33/attachment.html 


More information about the jboss-user mailing list