Skip to content

Also return AsyncResponse from plain Mailer.sendEmail(singleArgument) as async can be configured through MailerBuilder now #338

@JackHewson

Description

@JackHewson

According https://www.simplejavamail.org/features.html#section-sent-id it is possible to receive the generated messageId by:

mailer.sendMail(email); // id updated during sending!
email.getId(); // <1420232606.6.1509560747190@Cypher>`

But how is it possible to receive the messageId when using .async()?
When using .async(), the email.getId(); is null.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions