APLEmailValidator is a plugin that performs quick and efficient validation of email input strings.
The plug-in is configured by modifying your pluginsvr_config.xml and adding the values provided in the example, ensuring to replace the ‘variable’ with the proper path to where you choose to put the Jar file. Then you need to add the proper line to your ar.cfg/ar.conf file to reference the plug-in, again ensuring that you replace the variable server name with a proper value for your environment. Finally you can import the sample def file into your server. This sample def file contains all of the configuration necessary to utilize the plug-in.
The plug-in accepts 4 inputs
1 – Email String – This string is the list of emails you want validated
2 – Valid Separators – This is an all inclusive list of what are considered valid separators for email addresses
3 – Function – This is 1 of 6 values
-Valid – The plug-in will return only ‘valid’ email address in the output
-Invalid – The plug-in will return only invalid email address in the output
-Valid Count – The plug-in will return a count of how many addresses provided were valid
-Invalid Count – The plug-in will return a count of how many addresses provided were invalid
-Strip NOT Domain – Will pull any email addresses that don’t belong to the specified domain
-Strip Domain – Will pull any email address that belong to the specified domain
4 – Domain – This is the domain you want the function to perform against
The form provided provides the framework utilized to work with the plug-in, but is not necessary to be imported for the plug-in
to function. If imported, it can be used to send service requests to from your own workflow, or simply as an example of how
to call the plug-in so you can build the same functions into your own workflow.
2.0 – May 8th 2017
– Added domain stripping
1.0 – August 30th 2014