spring-cloud-aws-ses: allow setting fromArn on SendRawEmail operation #1025
Labels
component: ses
SES integration related issue
type: enhancement
Smaller enhancement in existing integration
Milestone
Type: Feature
Is your feature request related to a problem? Please describe.
Similar to #1006 it would be nice to also specify the fromArn on a per client basis.
It seems like perfectly fine use case that if we use SimpleEmailServiceJavaMailSender and as such SES client we can control which config set is used. It is impossible because org.springframework.cloud.aws.mail.simplemail.SimpleEmailServiceJavaMailSender#send(javax.mail.internet.MimeMessage...) does not expose any way to inject fromArn into SendRawEmailRequest object coming from AWS SDK.
Describe the solution you'd like
I want to be able to specify fromArn.
Describe alternatives you've considered
Subclassing SimpleEmailServiceJavaMailSender and overriding entire send method.
The text was updated successfully, but these errors were encountered: