Mail Validator
Description
Use the Mail Validator step to verify whether an email address is valid. The step returns a Boolean value (TRUE or FALSE) or a String, depending on user configuration. If an email address fails validation, the step returns an additional String field containing the error details.
Configurations
| Field Name | Description |
|---|---|
| Step name | Specify a unique name for the step, which will help you identify and reference it easily when debugging or linking steps in the workflow. For example, Read Employee Excel File The field is mandatory. |
| email fieldname | Select the fieldname from the list to validate the email address. The fieldname contains the email address and fieldname are defined in previous step. |
| Settings: | Configure the parameters to perform advanced SMTP validation checks and establish server connection rules for target email addresses. |
| SMTP check? | Select the checkbox to perform an SMTP check. When selected, specify an Email sender. During an SMTP check, PROCESS STUDIO extracts the domain name from the supplied email address, retrieves all exchangers for the domain, and queries each exchanger. By default, PROCESS STUDIO checks only the email address structure using a regular expression. |
| Time out (milliseconds) | Specify the socket timeout in milliseconds duration to open a connection on the target SMTP host. For example, specify 5000 for 5 second. The field accepts static or environment variable value. Default Value: 0 |
| Email sender | Specify the sender email address to query the SMTP host. The field accepts static or environment variable value. Note: The field is available when the SMTP check? Checkbox is selected. |
| Default SMTP server | Specify the target SMTP server to query. Providing a specific server accelerates the process because PROCESS STUDIO bypasses fetching exchangers from the domain name and queries the specified server directly. The field accepts static or environment variable value. |
| dynamic default SMTP? | Select the checkbox to pass the default SMTP server dynamically. |
| Default SMTP field | Select the field containing the dynamic SMTP server details. The previous step must define the selected field. Note: The field is available if dynamic default SMTP? checkbox is selected. |
| Result: | Configure the parameters to define the output format, specify result field names, and capture error messages for failed validations. |
| Result fieldname | Specify a name for the field that stores the validation result. The step adds the result field to the input stream. The result returns a Boolean value (TRUE signifies a valid email address; FALSE signifies an invalid email address) unless the user selects the Result is a string option. Default value: result Note: The field is mandatory and will be added to the input stream. |
| Result is a string | Select the checkbox to format the output field as a String. When selected, the output displays the value specified in the Email is valid field or the Email is not valid field. |
| Email is valid | Specify the text to display for a valid email address. Note: field is available if the Result is a string checkbox is selected. |
| Email is not valid | Specify the text to display for an invalid email address. Note: field is available if the Result is a string checkbox is selected. |
| Errors field | Specify a field name to capture the reason for an invalid email address and append the error reason to the input stream. Leave the field blank to exclude the error reason. Default value: Error message |