Skip to main content

Mail Validator

Description

Mail is a step in the Validation Plugin for Process Studio Workflows. This step checks if an email address is valid or not. The Mail Validator step returns a result field (Boolean or String depending on your settings) and one additional field (String) containing errors string when email address is not valid. The step adds result fields to input stream.

Configurations

No.Field NameDescription
1Step nameName of the step as it appears in the workflow workspace. This name has to be unique in a single workflow.
2email fieldnameSpecify the name of the field that contains the email addresses to check. This field must be defined in a previous step. Dropdown the combo to select fieldname.
3SMTP check?By default, PROCESS STUDIO will only check email address structure (using regular expression). If you want to perform a SMTP check, please select this option and fill Email sender (see after). PROCESS STUDIO will extract domain name from the supplied email address (to check) and will try to get all exchangers from the domain name. Each exchanger will be queried.
4Time outIn order to perform a SMTP check, PROCESS STUDIO will open a socket on the target SMTP host. Specify here the socket time out (by default 0).
5Email senderIf you select "SMTP check?" option, this field is mandatory. PROCESS STUDIO will need sender email address to query SMTP host.
6Default SMTP serverIf you know which SMTP server to query, please specify it here, PROCESS STUDIO will then query only this one.

Note: Specifying SMTP host here will faster the process because PROCESS STUDIO will ask only this one and not fetching all the exchangers from the domain name.

7dynamic default SMTP?IF you want to pass default SMTP server in a dynamic way, check this option.
8Default SMTP fieldIf you select the previous option, you must fill this field. This field must be defined in a previous step. Dropdown the combo to select fieldname.
9Result fieldnamePROCESS STUDIO will store the result of the process in this field. The result will be Boolean (TRUE = the email address is valid, FALSE = the email address is unvalid) if "Result is a string" option is unchecked (see after).

Note: This field is mandatory and will be added to the input stream.

10Result is a stringThis option will turn the ouput field into a String and when the email address is valid the output will contains the "Email is valid" field (see after) otherwise it will contains the "Email is not valid" field (see after).
11Email is validIf you selected the previous option, you must fill this field
12Email is not validIf you selected the previous option, you must fill this field
13Errors fieldWhen an email is address is invalid, PROCESS STUDIO return the reason. If you want to add it in the input stream, please give the field a name, otherwhise leave this field blank.