Email GET request
There are two APIs available for Email:
- /MAILSUGGEST/: Provides email suggestions based on the first name, last name, and user input in the email field.
Header:
https://{SERVER_ADDRESS}/MAILSUGGEST/?Nom={NAME}&Prenom={FIRST_NAME}&Email={EMAIL}&Instance={VALUE}&Pays={COUNTRY_CODE}&Licence={LICENCE_CODE}
Simply replace the items in braces with your information:
Parameter | Expected value type | Value description | Mandatory/Optional |
Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
Nom | {NAME} | Last name entered in the form | Mandatory |
Prenom | {FIRST NAME} | First name entered in the form | Mandatory |
{EMAIL} | Part of the email already entered by the user | Optional | |
Pays | {COUNTRY_CODE} | ISO country code (3 letters) | Optional |
Instance | {VALUE} | Allows you to pass a value during the call | Optional |
- /DQEEMAILLOOKUP/: Performs email validation.
Header:
https://{SERVER_ADDRESS}/DQEEMAILLOOKUP/?Email={EMAIL}&Licence={LICENCE_CODE}&Rectify={RECTIFY}&extendedsyntax={SYNTAX}&checkuser={CHECKUSER}&TimeOut={TIME}
Simply replace the items in braces with your information :
Parameter | Expected value | Value description | Mandatory/Optional |
Server address | {SERVER_ADDRESS} | Address of the DQE server that will process the data | Mandatory |
Licence | {LICENCE_CODE} | Number assigned to you as your license code | Mandatory |
{EMAIL} | Email address to validate | Mandatory | |
Rectify | {RECTIFY} | « y » if a domain correction should be proposed when domain entered is unknown or « n » otherwise | Optional (if not specified: “n” by default) |
extendedsyntax | {SYNTAX} |
« y » to accept e-mail addresses with extended syntax (characters accepted only by certain domains) or "n" to limit to standard e-mail addresses. |
Optional (if not specified: “n” by default) |
checkuser | {CHECKUSER} | "y" controls the part before the @ sign (slower) or "n" only the domain | Optional (if not specified: “y” by default) |
TimeOut | {TIME} |
Maximum query time for data verification. Expected value will be seconds. Example: 500ms --> 0.5s |
Optional |
Related to