I'm looking into the python imaplib
library and starting testing things. I looked in the documentation and
read that get_payload()
is deprecated and you have to use get_body()
.
When I look at my object with dir()
I have get_payload()
but not get_body()
. (I use python 3.9.5.)
Why does the documentation not match the object I get? Is there a good and up-to date introduction to imaplib
?