Uses of Class
org.springframework.integration.mail.dsl.MailHeadersBuilder
Package
Description
Provides Mail Components for the Java DSL.
-
Uses of MailHeadersBuilder in org.springframework.integration.mail.dsl
Modifier and TypeMethodDescriptionMailHeadersBuilder.attachmentFilename
(String attachmentFilename) Set a filename for the attachment.MailHeadersBuilder.attachmentFilenameExpression
(String attachmentFilename) Set an expression that will be evaluated to determine the filename for the attachment.MailHeadersBuilder.attachmentFilenameFunction
(Function<Message<P>, String> attachmentFilename) Set a function that will be invoked to determine the filename for the attachment.Set the bcc: addresses.MailHeadersBuilder.bccExpression
(String bcc) Set the expression that will be evaluated to determine the bcc: addresses.MailHeadersBuilder.bccFunction
(Function<Message<P>, String[]> bcc) Set a function that will be invoked to determine the bcc: addresses based on the message.Set the cc: addresses.MailHeadersBuilder.ccExpression
(String cc) Set the expression that will be evaluated to determine the cc: addresses.MailHeadersBuilder.ccFunction
(Function<Message<P>, String[]> cc) Set a function that will be invoked to determine the cc: addresses based on the message.MailHeadersBuilder.contentType
(String contentType) Set the content type.MailHeadersBuilder.contentTypeExpression
(String contentType) Set an expression that will be evaluated to determine the content type.MailHeadersBuilder.contentTypeFunction
(Function<Message<P>, String> contentType) Set a function that will be invoked to determine the content type.Set the From: address.MailHeadersBuilder.fromExpression
(String from) Set the expression that will be evaluated to determine theFrom:
address.MailHeadersBuilder.fromFunction
(Function<Message<P>, String> from) Set a function that will be invoked to determine theFrom:
address based on the message.static MailHeadersBuilder
Mail.headers()
AMailHeadersBuilder
factory.MailHeadersBuilder.multipartMode
(int multipartMode) Set a multipart mode to use.MailHeadersBuilder.multipartModeExpression
(String multipartMode) Set an expression that is evaluated to determine a multipart mode to use.MailHeadersBuilder.multipartModeFunction
(Function<Message<P>, Integer> multipartMode) Set a function that is invoked to determine a multipart mode to use.Set the ReplyTo: address.MailHeadersBuilder.replyToExpression
(String replyTo) Set the expression that will be evaluated to determine the ReplyTo: address.MailHeadersBuilder.replyToFunction
(Function<Message<P>, String> replyTo) Set a function that will be invoked to determine the ReplyTo: address based on the message.Set the subject.MailHeadersBuilder.subjectExpression
(String subject) Set the expression that will be evaluated to determine th subject.MailHeadersBuilder.subjectFunction
(Function<Message<P>, String> subject) Set a function that will be invoked to return the subject based on the message.Set the To: addresses.MailHeadersBuilder.toExpression
(String to) Set the expression that will be evaluated to determine the To: addresses.MailHeadersBuilder.toFunction
(Function<Message<P>, String[]> to) Set a function that will be invoked to determine the To: addresses based on the message.