MimeMessage and passes it to the given MessageEditor that fills the message.Session with an Authenticator that will be used to log into the SMTP server.MessageEditor.EmailSender.STARTTLS security.MessagingExceptions thrown by MimeMessage.