private void setPeople ( final Email emailWithData , final MimeMessage msgToSet ) throws MessagingException { msgToSet . setFrom ( emailWithData . from ( ) . toInternetAddress ( ) ) ; msgToSet . setReplyTo ( EmailAddress . convert ( emailWithData . replyTo ( ) ) ) ; setRecipients ( emailWithData , msgToSet ) ; }
Sets FROM REPLY - TO and recipients .