Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
19.2. Mail Session
Mail session defines the mail server properties that are used for sending emails if required by the application, such as, escalation or notification mechanisms (refer to the Red Hat JBoss BPM Suite User Guide).
19.2.1. Setting up Mail Session Link kopierenLink in die Zwischenablage kopiert!
To set up the mail session for your execution engine, do the following:
-
Open the respective profile configuration file (
standalone.xmlorhost.xml) for editing. Add the mail session to the
urn:jboss:domain:mail:1.1subsystem.Example 19.3. New Mail Session on localhost
<subsystem xmlns="urn:jboss:domain:mail:1.1"> <!-- omitted code --> <mail-session jndi-name="mail/jbpmMailSession" debug="true" from="bpms@company.com"> <smtp-server outbound-socket-binding-ref="bpmsMail"/> </mail-session> </subsystem>Define the session outbound socket in the profile configuration file.
Example 19.4. Outbound Socket Definition
<outbound-socket-binding name="bpmsMail"> <remote-destination host="localhost" port="12345"/> </outbound-socket-binding>