private MimeMessage createMimeMessage ( ) { // prepare the message Session session = Session . getInstance ( properties , authenticator ) ; return new MimeMessage ( session ) ; }
Initialize the session and create the mime message .