Hi all, just to let you know that both of my mailets worked as hoped.
@Garry Hurley, it turns out that the MimeMessage passed into the bounce
mailet is actually the original email not the bounce email, which saves a
bit of work!
Kind regards
Matt
On Fri, 1 Jul 2022 at 09:33, Matt Pryor
wrote:
Many thanks Benoit, Garry and Karsten for the helpful responses!
Matt
On Thu, 30 Jun 2022 at 18:34, Garry Hurley
wrote:
> Actually, the bounce notification may have its own message ID, so you might
> have to dig through it a little bit more than just taking
> mail.getMessage().getMessageID().