resent = msg.get_all('Resent-Date') AttributeError: 'str' object has no attribute 'get_all'

NoSuchKey