msgimage = MIMEImage(fp.read()). (导入from email.mime.image import MIMEImage). d) 发送文件. msg = MIMEMultipart() #创建一个带附件的实例.
確定! 回上一頁