Detailed Description of Validate Email

This step checks the validity of an e-mail address according to a valid e-mail address format. The step supports verification of the top level domain (TLD). The TLD can contain characters and numbers and must start with a character. Lower level domains respect letter digit hyphen (LDH) syntax and can start with a number. A hyphen is allowed within the domain portion only. If an error is detected (EML_ADDRESS, EML_TLD or EML_NULL), an empty value is stored in both outputs outName and outEmail.


Top of page

Example: Example
<step id='alg' className='cz.adastra.cif.tasks.clean.ValidateEmailAlgorithm'>
        <properties>
                <in>src_email</in>
                <outName>std_name</outName>
                <outEmail>std_email</outEmail>
                <tldLookupFileName>data/dictionaries/tld.dict.cif</tldLookupFileName>
                <scorer explanationColumn="expl">
                        <scoringEntries>
                                <scoringEntry key="EML_NULL" score="1000" explain="true" />
                                <scoringEntry key="EML_ADDRESS" score="1000" explain="true" />
                                <scoringEntry key="EML_TLD" score="1000" explain="true" />
                                <scoringEntry key="EML_AMBIGUOUS_DOMAIN" score="1000" explain="true" />
                        </scoringEntries>
                </scorer>
        </properties>
</step>

iWay Software