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老司机等你上车
扫码加入公众号