spring-framework / org.springframework.mail.javamail / JavaMailSenderImpl / setJavaMailProperties

setJavaMailProperties

open fun setJavaMailProperties(javaMailProperties: Properties): Unit

Set JavaMail properties for the Session.

A new Session will be created with those properties. Use either this method or #setSession, but not both.

Non-default properties in this instance will override given JavaMail properties.