msgImage = MIMEImage(filepath.read()). Here is the code: (been working for years!) from email.mime.image import MIMEImage.
確定! 回上一頁