Python unresolved reference import MIMEMultipart Python unresolved reference import MIMEMultipart selenium selenium

Python unresolved reference import MIMEMultipart


With python 3.6:

from email.mime.multipart import MIMEMultipartfrom email.mime.text import MIMETextfrom email.mime.base import MIMEBase


The email package was refactored at some point and the Mime support is now in the email.mime package.

https://docs.python.org/2/library/email.html