Route to SMTP

Overview

You can use the SMTP filter to relay messages to an email recipient using a configured SMTP server.

General settings

Complete the following general settings:

Name:
Specify a descriptive name for this filter to display in a policy.

SMTP Server Settings:
Click the browse button and select a preconfigured SMTP server in the tree. To add an SMTP server, right-click the SMTP Servers node, and select Add an SMTP Server. Alternatively, you can configure SMTP servers under the Environment Configuration > External Connections node in the Policy Studio tree. For more details on configuring SMTP servers, see the API Gateway Policy Developer Guide.

Message settings

Complete the following fields in the Message settings section:

To:
Enter the email address of the recipients of the messages. You can enter multiple addresses by separating each one using a semicolon. For example:

joe.soap@example.com;joe.bloggs@example.com;john.doe@example.com

From:
Enter the email address of the senders of the messages. You can enter multiple addresses by separating each one using a semicolon.

Subject:
Enter some text as the subject of the email messages.

Send content in body:
Select this option to send the message content in the body of the message. This is selected by default.

Send content as attachment:
Select this option to send the message content as an attachment.

Send content in body and as attachment:
Select this option to send the message content in the body of the message and as an attachment.

Attachment name:
If you selected Send content as attachment or Send content in body and as attachment, enter a name for the attachment in this field. The default is ${id}.bin. For more details on selectors, see Select configuration values at runtime in the API Gateway Policy Developer Guide.

Related Links