Error on List Messages in ImapSmtp

Dear all,

I’m getting the following error when trying to “List Messages” using the RPA ImapSmtp library and trying to filter by subject:
LookupError: unknown encoding: None

This is the code I’m using:
${emails}= List Messages source_folder=INBOX criterion=SUBJECT “invoice”
FOR ${email} IN @{EMAILS}
Log To Console ${email}[Subject]
Log To Console ${email}[From]
Log To Console ${email}[Date]
Log To Console ${email}[Has-Attachments]
END

Did any of you find this error? Any clue to solve it?

Thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.