@Override
	public void afterPropertiesSet() throws Exception {
		Properties properties = new Properties();
        if (smtpSSLEnabled) {
            properties.setProperty("mail.smtp.auth", "true");
            properties.setProperty("mail.smtp.starttls.enable", "true");
            setJavaMailProperties(properties);
        }		
	}
@ Override public void afterPropertiesSet ( ) throws Exception { Properties properties = new Properties ( ) ; if ( smtpSSLEnabled ) { properties . setProperty ( "mail.smtp.auth" , "true" ) ; properties . setProperty ( "mail.smtp.starttls.enable" , "true" ) ; setJavaMailProperties ( properties ) ; } }
@see org.springframework.beans.factory.InitializingBean#afterPropertiesSet()