Hi @mmt1
Welcome to UiPath
The garbled text issue is likely due to encoding changes after migration. Try these steps:
- Convert the email body using
new System.Text.UTF8Encoding().GetString(mailMessage.BodyAsBytes). - Check if
mailMessage.BodyEncodingis set correctly and use its encoding. - Try
mailMessage.AlternateViews(0).GetText()to get the email content. - Make sure your IMAP server returns emails in
UTF-8. - Update UiPath Mail Activities and other related packages.
If it’s helpful pls mark as a solution. Thanks