Class MailUtil

java.lang.Object
cl.obcom.desktopfx.util.MailUtil

public final class MailUtil extends Object
Utility methods that perform general mail operations.
  • Method Details

    • newMailVerificationCode

      public static String newMailVerificationCode()
      Returns a string with a new random mail verification code.
      Returns:
      a string with a new random mail verification code.
    • checkMailAddress

      public static boolean checkMailAddress(String str)
      Returns true if the supplied string is a valid mail address.
      Parameters:
      str - the string to be checked (can be null).
      Returns:
      true if str is a valid mail address.