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

错误提示:

原因:send_message()方法
修改:
cconn.send_message(msg,theaccount, ['3*****@qq.com', '3*****@qq.com'])
成功!!!!!!!!!!!!!!!!!!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
来都来了,点个赞再走吧
点赞的都是嫖,不点赞的都是白嫖吧
微信搜索【猿的一日】IT男老司机等你上车
或扫码加入公众号

浙公网安备 33010602011771号