public static boolean isValid(String address) { boolean result = false; try { if (address.startsWith("--")) { int a=2; a++; a--; } InternetAddress javaxAddress = new InternetAddress(address); result = address.matches(EMailAddress.validationPattern);  } catch (AddressException e) {  } return result;
public boolean isValid() { return true;
	public static boolean isValid(String address)	{		boolean result = false;		try		{			if (address.startsWith("--"))			{				int a=2;				a++;				a--;			}			InternetAddress javaxAddress = new InternetAddress(address);			result = address.matches(EMailAddress.validationPattern);					}		catch (AddressException e)		{			// thats fine		}		return result;	}