Uses of Class
org.springframework.integration.mail.dsl.MailSendingMessageHandlerSpec
Package
Description
Provides Mail Components for the Java DSL.
-
Uses of MailSendingMessageHandlerSpec in org.springframework.integration.mail.dsl
Modifier and TypeMethodDescriptionMailSendingMessageHandlerSpec.credentials
(String username, String password) Set the credentials.MailSendingMessageHandlerSpec.defaultEncoding
(String defaultEncoding) Set the default encoding.MailSendingMessageHandlerSpec.defaultFileTypeMap
(FileTypeMap defaultFileTypeMap) Set the default type map.MailSendingMessageHandlerSpec.javaMailProperties
(Consumer<PropertiesBuilder> propertiesConfigurer) Set aConsumer
that will be invoked with aPropertiesBuilder
; most often used with a lambda expression.MailSendingMessageHandlerSpec.javaMailProperties
(Properties javaMailProperties) Set the javamail properties.Mail.outboundAdapter()
AMailSendingMessageHandlerSpec
factory.Mail.outboundAdapter
(String host) AMailSendingMessageHandlerSpec
factory based on providehost
.Set the mail user password.MailSendingMessageHandlerSpec.port
(int port) Set the port.Set the protocol.