Project: springxd
Issue XD-2498: Add imap/smtp properties to Mail sink
As a user, I'd like to use the _Mail_ sink to connect to secured IMAP and/or SMTP mail servers. Currently, the sink doesn't support TLS. _Mail_ sink config file requires a bean (with ssl/tls properties), provided to the adapter via the java-mail-properties attribute. [Ref. Example|http://docs.spring.io/spring-integration/docs/latest-ga/reference/html/mail.html]. {code:xml} javax.net.ssl.SSLSocketFactory false imaps false {code} [List of all java-mail properties|https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html]
Story points: 1