protected void configure ( Properties properties ) { _properties = properties ; _recipients = properties . getProperty ( "mail.smtp.to" ) . split ( " *[,;] *" ) ; _authenticator = new Authenticator ( ) { protected PasswordAuthentication getPasswordAuthentication ( ) { return new PasswordAuthentication ( _properties . getProperty ( "mail.smtp.user" ) , _properties . getProperty ( "mail.smtp.pass" ) ) ; } } ; }
Configures the EmailChannel with given properties .