# Mail Validator

### Description

The `Mail validator` action checks if an email address is valid.

When the check passes the success hop will be followed, otherwise it will go to the fail hop

### Options

| Option              | Description                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Action name         | The name of the workflow action.                                                                                                                                                                                                                                                                                                                                                 |
| Email address       | The email address, or list (separated by spaces) that have to be checked.                                                                                                                                                                                                                                                                                                        |
| Settings            |                                                                                                                                                                                                                                                                                                                                                                                  |
| SMTP check?         | <p>By default, Apache Hop will only check email address structure (using regular expression).</p><p>If you want to perform a SMTP check, please select this option and fill Email sender (see after).</p><p>Hop 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.</p> |
| Time out            | In order to perform a SMTP check, Hop will open a socket on the target SMTP host. Specify here the socket time out (by default 0).                                                                                                                                                                                                                                               |
| Email sender        | If you select "SMTP check?" option, this field is mandatory. Hop will need sender email address to query SMTP host.                                                                                                                                                                                                                                                              |
| Default SMTP server | If you know which SMTP server to query, please specify it here, Hop will then query only this one.                                                                                                                                                                                                                                                                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/workflows/actions/mailvalidator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
