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

setHost

open fun setHost(@Nullable host: String): Unit

Set the mail server host, typically an SMTP host.

Default is the default host of the underlying JavaMail Session.