Class JavaMail

java.lang.Object
overit.geocall.mail.JavaMail

public class JavaMail extends Object
Class that manages the java mail system
  • Field Details

    • _init

      protected static boolean _init
    • _exceptions

      protected static int _exceptions
    • _debug

      protected static boolean _debug
  • Constructor Details

    • JavaMail

      public JavaMail()
  • Method Details

    • isDebug

      public static boolean isDebug()
      Returns true if debug is enabled, false otherwise
      Returns:
      true if debug is enabled, false otherwise
    • setDebug

      public static void setDebug(boolean debug)
      Sets the debug capability
      Parameters:
      debug - boolean that inidicates if the debug capability should be enabled
    • getVersion

      public static final String getVersion()
      Returns the version
      Returns:
      The version
    • isVersion13

      public static final boolean isVersion13()
      Returns true if is the version 1.3, false otherwise
      Returns:
      true if is the version 1.3, false otherwise
    • isVersion14

      public static final boolean isVersion14()
      Returns true if is the version 1.4, false otherwise
      Returns:
      true if is the version 1.4, false otherwise
    • newBasicSessionProperties

      public static Properties newBasicSessionProperties()
      Sest a new basic session properties
      Returns:
      The Properties
    • init

      public static void init()
      Init JavaMail