Skip to content

spring-cloud-aws-ses: SimpleEmailServiceJavaMailSender.send(MimeMessagePreparator... mimeMessagePreparators) creates only one MimeMessage #1490

@apetrelli

Description

@apetrelli

Type: Bug

Component:
SES

Describe the bug
It seems that the SimpleEmailServiceJavaMailSender.send(MimeMessagePreparator...) method creates a single MimeMessage instead of creating an array of MimeMessages.
In fact, it creates a single MimeMessage and invokes the preparators on the same instance. Then, it invokes send(MimeMessage) with the single message.

The correct behaviour, according to JavaMailSender interface's default implementation for the same method, is to create an array of MimeMessage and call send(MimeMessage...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: sesSES integration related issuetype: bugSomething isn't working

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions