You can configure IBM® Integration Bus to send an email, with or without attachments, to a static or dynamic list of recipients.
You can configure the EmailOutput node to send an email, with or without a single attachment, with a static subject and static text, to a static list of recipients. You can also construct a message flow that can produce an email where the SMTP server, list of recipients, subject, text, and multiple attachments are all determined at run time.
mqsicreateconfigurableservice BROKER -c SMTP -o MYSERVER
mqsichangeproperties BROKER -c SMTP -o MYSERVER -n serverName -v smtp.hursley.ibm.com:25
If
the value of the SMTP Server and
Port property is set to the defined alias (in this case,
MYSERVER), any values that are overridden by the administrator (smtp.hursley.ibm.com:25
set on the command line as the server name) are used in preference
to any statically defined value or override value in the local environment.
mqsisetdbparms BROKER -n smtp::MyIdentity -u userName -p password
mqsichangeproperties BROKER -c SMTP -o MYSERVER -n securityIdentity -v MyIdentity
The topics in this section describe the different ways in which you can use the EmailOutput node to send email messages.