Working With the SMTP Target Connector

This section provides an overview of the SMTP target connector and discusses how to:

  • Set gateway-level connector properties.

  • Set node-level connector properties.

The SMTP target connector enables the gateway to send messages by email using SMTP. This connector supports plain text and HTML text content types. The connector supports the following fields: To:, From:, cc:, and bcc:. You can send data of any format in the body of the email.

You can include only one email address per type of address in the header. For instance, you can include only one addressee as a destination (DestEmailAddress).

The connector ID for the SMTP target connector is SMTPTARGET.

The SMTP target connect is segment-aware and you may use it to send message segments to integration partners.

See Working With Message Segments.

The SMTP target connector has one gateway-level property, in the section of the integrationGateway.properties file labeled DELIVERED CONNECTOR CONFIGURATION Section. This property specifies the SMTP mail server host through which the connector sends messages. Specify the host as follows:

ig.connector.smtptargetconnector.host=SMTP_domain_name

The following table describes the required node-level properties for the SMTP target connector:

Property ID

Property Name

Description

SMTPTARGET

SourceEmailAddress

Specify the email address from which you send messages. Only one address is currently allowed.

SMTPTARGET

DestEmailAddress

Specify the email address to which you send messages. Only one address is currently allowed.

SMTPTARGET

CC

(Optional.) Specify the email address of the party to which you copy messages. Only one address is currently allowed.

SMTPTARGET

BCC

(Optional.) Specify the email address of the party to which you send blind copies of messages. Only one address is currently allowed.

HEADER

Content-Type

(Optional.) Specify the type of text content that makes up the email body. Values are:

  • Text/plain.

  • Text/html.

HEADER

SendUncompressed

Specify whether to send messages decompressed. Values are:

  • Y: Send the message decompressed and unencoded. This is the default value.

  • N: Send the message compressed and base 64 encoded.