Friday, 5 December 2014

Validates an email address

Validates an email Address

SysEmailDistributor Class
client server public static boolean validateEmail(str _email)

Run On  Called

Parameters  _email

Type: str Email address 

Return Value  Type: boolean

true if email address is valid. false otherwise. 
Example for Email Validation 
public static void sysemail(args _args)
{
   boolean isvalid;
  // Here change the email address and check
   isvalid=SysEmailDistributor::validateEmail("xyz@gmail.com");
 
  info(strFmt("%1",isValid));
}

No comments:

Post a Comment