Skip to content

Fortified IDDocs

SMTP Valve

Configuration reference for the SMTP Valve Pipes valve and its supported options.

Use this valve to send html/plain messages via SMTP.

Before using this valve the SmtpClient module must be configured and deployed.

NameDescriptionDefaultMandatoryExpanded
smtp_destinationID of the internal SMTP client used to talk with the SMTP backend. "default"
message_templatePath to a message template file. The text in the template supports expansion. See Message Template exampleN/A
subjectMail subject.N/A
mail_fromFROM email address.N/A
mail_toTO email address.N/A
mail_ccCC email address.N/A
mail_bccBCC email address.N/A
remove_prefixesArray containing prefixes to be removed from email addresses. N/A
file_attachmentPath to file. N/A
ignore_smtp_timeoutIf true, a local SMTP timeout is logged and ignored, and the valve resolves successfully.
When false, a local SMTP timeout fails the valve and pipe.
false

Property expansion is supported with {{...}} syntax. All available item and exports properties can be used in the template. In the example below the item property generated_otp_value is generated prior in the pipe.

<html>
<body>
Your one time password is <b>{{item.generated_otp_value}}</b>
</body>
</html>