Contact Us 1-800-596-4880

Configuring SMTP in Anypoint Platform PCE

Because Anypoint Platform Private Cloud Edition (Anypoint Platform PCE) does not provide an SMTP server, you must set up your own SMTP email server to deliver email alerts generated by Runtime Manager. The SMTP email server also sends email messages for platform infrastructure alerts, including CPU, memory, and disk alerts.

You must direct your local installation of Anypoint Platform PCE to this server from the Access Management panel.

Only SMTP servers with authentication are supported (anonymous SMTP relay servers are not supported). SMTPS is not supported.

Connect to an Existing SMTP Server

  1. From Anypoint Platform, select Access Management.

  2. Select SMTP.

  3. Provide the following parameters information for your SMTP server:

Field Description Example

Host

Host name of your SMTP server.

smtp.gmail.com

Port

Port used to communicate to your SMTP server.

587

Username

Username to authenticate to your SMTP server.

mulesoft.onprem.smtp@gmail.com

Password

SMTP password.

examplepassphrase

Sender

Optional. Email address that alert notifications are sent from. Available starting with Anypoint Platform PCE 4.3.0. Leave this field blank to use the default sender address.

alerts@example.com

To use anonymous logins for your SMTP server, leave the Username and Password fields empty.
  1. After entering your configuration, select Save.

SMTP configuration window under the Access Management UI

Set a Custom Sender Address

In Anypoint Platform PCE versions before 4.3.0, outbound alert emails use a fixed sender address. Mail systems that accept messages only from approved internal domains can reject those emails, and Anypoint Platform PCE doesn’t report the rejection.

Starting with Anypoint Platform PCE 4.3.0, the SMTP page in Access Management includes an optional Sender field. To set the address:

  1. From Anypoint Platform, select Access Management.

  2. Select SMTP.

  3. Configure the Host, Port, Username, and Password fields.

  4. In Sender, enter the email address to send alert notifications from.

  5. Select Save.

Anypoint Platform PCE checks that Sender is a properly formatted email address. If you leave Sender blank, Anypoint Platform PCE uses the default sender behavior from versions before 4.3.0.

Anypoint Platform PCE checks only that Sender is a properly formatted email address. It doesn’t check that your SMTP server is authorized to send from that address or domain. Use an address on a domain your SMTP server is authorized to send from. If the address is outside those domains, alert emails can fail to send, and Anypoint Platform PCE doesn’t show an error. Confirm the domains your SMTP server allows before you set Sender.