4 Replies Latest reply on Sep 24, 2012 7:25 AM by Vadim Gusev

    Jboss 7.1.1 dynamic JavaMail configuration

    Vadim Gusev Newbie



      I need ability to set JavaMail configurations, sach as smtp host and port, name, password,ssl and from address at runtime without restart the server.


      I try to use JMX, set appropriate properties, but java:/Mail service doesn't use them until I restart the server. I guess, I need to re-register java:/Mail service at runtime, but I don't know how to do that.


      Anybody know how to configure JavaMail at runtime?