Configuring SMTP for BMC Digital Workplace Catalog
You must configure SMTP server for BMC Digital Workplace Catalog to be able to use the Send Email action in workflows. For information about this element, see Workflow designer elements overview.
Before you begin
Set up an SMTP server that will take care of delivery of emails. The IP address (or host name), and the port running this server should be accessible to BMC Digital Workplace Catalog.
To configure SMTP for BMC Digital Workplace Catalog
Stop the BMC Digital Workplace Catalog server by running the following command:
# cd /opt/bmc/digitalworkplace # ./dwpcontroller stop
On the BMC Digital Workplace Catalog server, open installLocation/sb/env/set_script_variables.sh, and set the SMTP variables as follows:
export SEND_EMAILS=true export SMTP_ADDRESS=<SMTP server> export SMTP_PORT=<SMTP server port> export SMTP_USER_NAME=<user name if the SMTP server requires it> export SMTP_PASSWORD=<password if the SMTP server requires it> export SMTP_AUTHENTICATION=<authentication if the SMTP server requires it> export SMTP_NO_REDIRECT=<set to any value to disable email redirect> export_SMTP_REDIRECT_TO=<requires email redirect to be enabled> export BMC_DWP_EMAIL_SENDER=<sender's email address> export SB_BASE_URL=<Digital Workplace Catalog base URL to generate links in emails>
Start the BMC Digital Workplace Catalog server by running the following command:
# cd /opt/bmc/digitalworkplace # ./dwpcontroller start -u dwpadmin -p dwppassword
Note
When you have SMTP configured, emails are sent as text. HTML is not supported.
Comments
Log in or register to comment.