How to handle german Umlauts like ä.ö or ü in mail.sender?

Dear all,

in one of my processes I am moving mails based on the content of their attachment.

Now I am facing an issue in which of the mail sender does have an german Umlaut (ü,ö,ä) in their Mailadress.

In for each I need to get the Sender of each mail normally it works with mail.sender.toString, but with adresses containing an Umlaut it runs into an error, how can I handle these letters?

Thanks and best regards

Hi SchnEck,

Can you please share the error message as it works fine with the Umlauts for me.

Regards,
Raakesh Chaaloo