How to add attachments in mail using spring integration mail with DSL configuration
问题 I am new to Spring integration, trying to send an email with attachment (excel sheet) using spring integration mail dependency with DSL configuration. My problem is I don't know how to add the attachments in Mail.outboundadapter IntegrationFlow . Is anyone having the attachment sample please post it or share some sample code? I have gone through the spring docs, could not understand the attachment concept there.Below is my code. SampleClass.java @EnableAutoConfiguration @SpringBootApplication