if (this.defaultSession () == null) log.warn("Unable to create default mail session!");
    public void initializeFrameworkFromSystemProperties () {        // Admin Email        String adminEmail = System.getProperty ("er.javamail.adminEmail");        if ((adminEmail == null) || (adminEmail.length () == 0))            throw new RuntimeException ("ERJavaMail: the property er.javamail.adminEmail is not specified!");        this.setAdminEmail (adminEmail);        log.debug ("er.javamail.adminEmail: " + _adminEmail);        // JavaMail Debug Enabled ?        boolean debug = ERXProperties.booleanForKey ("er.javamail.debugEnabled");        this.setDebugEnabled (debug);        log.debug ("er.javamail.debugEnabled: " + debug);        // Centralize mails ?        boolean centralize = ERXProperties.booleanForKey ("er.javamail.centralize");        this.setCentralize (centralize);        log.debug ("er.javamail.centralize: " + centralize);        // Time to wait when sender if overflowed        int milliswait = ERXProperties.intForKey ("er.javamail.milliSecondsWaitIfSenderOverflowed");        if (milliswait > 1000)            this.setMilliSecondsWaitIfSenderOverflowed (milliswait);        log.debug ("er.javamail.milliSecondsWaitIfSenderOverflowed: " + milliswait);        // Smtp host        this.setupSmtpHostSafely ();        this.setDefaultSession (this.newSession ());        // Default X-Mailer header        this.setDefaultXMailerHeader (System.getProperty ("er.javamail.XMailerHeader"));        log.debug ("er.javamail.XMailHeader: " + this.defaultXMailerHeader ());    }