/// <summary>
/// This methos is used to validate the mail id.
/// </summary>
public boolean validateEmail(Email _emailId)
{
System.Text.RegularExpressions.Match match;
System.Boolean netBool;
boolean xppBool;
/// This methos is used to validate the mail id.
/// </summary>
public boolean validateEmail(Email _emailId)
System.Text.RegularExpressions.Match match;
// str matchEmailPattern = *@"\b[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}\b";
+ @"([0-1]?[0-9]{1,2}|25[0-5]|2[0-4][0-9])\.([0-1]?
+ @"([\w-]+\.)+[a-zA-Z]{2,7})$";
new InteropPermission(InteropKind::ClrInterop).assert();
xppBool = netBool;
CodeAccessPermission::revertAssert();
return xppBool;