[docs] Bug in email example

Doug Carter dcarter at mercycorps.org
Wed Jul 14 21:12:57 CEST 2010

On the page:


At the bottom, under the heading:

  Here's an example of how to create an HTML message with an alternative
  plain text version:

In the code sample, the import from lines are incorrect:

  from email.mime.multipart import MIMEMultipart
  from email.mime.text import MIMEText

They should be:

  from email.MIMEMultipart import MIMEMultipart
  from email.MIMEText import MIMEText


Doug Carter

More information about the docs mailing list