5 Replies Latest reply on Jun 4, 2007 9:17 AM by ax666

    mail problems

    ax666

      good morning. today I tried to get email to work and found this:
      - mail node doesn't work without specifying a template (npe)
      - if connection to smtp server fails, exception is printed and process hangs
      - exception-handler is not supported wihtin mail node

      really guys, did anyone test this? what is this email support for if you have to write your own action handler anyways?
      alex

        • 1. Re: mail problems
          ax666

          also it looks like "mail.class.name" doesn't work. I specified a custom mail class in jbpm.cfg.xml, but it doesn't get called, at least not from a mail node.
          this is frustrating.

          • 2. Re: mail problems
            ax666

            even worse, if mail node is async, the process flow will simply stop, without even printing an exception, and if debug logging is off, nothing points you to what is happening.

            • 3. Re: mail problems
              kukeltje

              what are you trying to achieve? There is no need to write your own actionhandler to get mail to work...

              • 4. Re: mail problems
                ax666

                I'm trying to use email without having to fear the process flow will stop if mail sending fails.
                with in a (async) node it does stop too. there's no useful exception handling for this case.

                • 5. Re: mail problems
                  ax666

                  the last one was ment to be:

                  with

                  <mail>
                  in a (async) node it does stop too. there's no useful exception handling for this case.