我尝试过图书馆,但似乎已经过时了。当我尝试使用imaplibrary连接时,出现错误。这是我的代码:
open mailbox host=imap.gmail.com user=${email} password=${mail password} port=993
${Regmail}= wait for email sender=email@email.com
${html}= open link from email ${Regmail} link_index=1
Should contain ${html}
这就是我得到的:
LookupError: 'quoted-printable' is not a text encoding; use codecs.decode() to handle arbitrary codecs