SMTP Sender
This destination connector sends an e-mail to a specified address (or list of addresses), through a given SMTP relay/host. Both implicit and explicit (STARTTLS) encryption modes are supported. The body can be either text or HTML. Custom headers and attachments can be added to the request as well.
Supported property groups:
Item | Name | Default Value | Description |
---|---|---|---|
A | SMTP Host | The domain name or IP address of the SMTP server to use to send the e-mail messages. Note that sending e-mail to an SMTP server that is not expecting it may result in the IP of the machine running Mirth® Connect being added to the server's "denylist". After filling out the necessary information below, use the Send Test Email button to send a sample e-mail to the To address, to verify that everything is working as intended. | |
B | SMTP Port | 25 | The port number of the SMTP server to send the e-mail messages to. Generally, the default port of 25 is used. |
C | Override Local Binding | No | Select Yes to override the local address and port that the client socket will be bound to. Select No to use the default values of 0.0.0.0:0. A local port of zero (0) indicates that the OS should assign an ephemeral port automatically. Note that if a specific (non-zero) local port is chosen, then after a socket is closed it is up to the underlying OS to release the port before the next socket creation, otherwise the bind attempt will fail. |
D | Local Address | 0.0.0.0 | The local address that the client socket will be bound to, if Override Local Binding is enabled. |
E | Local Port | 0 | The local port that the client socket will be bound to, if Override Local Binding is enabled. Note that if a specific (non-zero) local port is chosen, then after a socket is closed it is up to the underlying OS to release the port before the next socket creation, otherwise the bind attempt will fail. |
F | Send Timeout (ms) | 5000 | The number of milliseconds for the SMTP socket connection timeout. |
G | Encryption | None | Determines what type of encryption to use for the connection.
|
H | Use Authentication | No | Determines whether to use authentication when connecting to the SMTP server. |
I | Username | The username to authenticate with. | |
J | Password | The password to authenticate with. | |
K | To | The e-mail address to send to. Multiple addresses can be specified with commas. | |
L | From | The e-mail address to send the message from. | |
M | Subject | The subject line of the e-mail. | |
N | Charset Encoding | Default | The character set encoding to use when converting the body, or Default to use the default character set encoding of the JVM Mirth® Connect by NextGen Healthcare is running on. |
O | HTML Body | No | Determines the MIME type of the message, either text/plain or text/html. If HTML is used, richer message formatting may be used. |
P | Template | The actual body of the e-mail. Velocity Variable Replacement is supported here. | |
Q | Headers |
When using the Use Table option above, entries in this table will be included as SMTP headers in the e-mail dispatch. | |
R | Attachments |
When using the Use Table option above, entries in this table will be added as attachments with the e-mail. The following columns are configurable:
|