question: private void createConnection ( String server ) { Properties props = System . getProperties ( ) ; props . put ( "mail.smtp.host" , server ) ; LOG . debug ( "createConnection() - The connection with the mail server has been created" ) ; this . session = Session . getInstance ( props , null ) ; }
target:  It creates a connection to the specified mail server