diff -r bb67b810aac1 Doc/includes/email-simple.py --- a/Doc/includes/email-simple.py Mon Feb 23 07:56:13 2015 -0800 +++ b/Doc/includes/email-simple.py Tue Feb 24 21:03:33 2015 +0100 @@ -6,7 +6,7 @@ # Open a plain text file for reading. For this example, assume that # the text file contains only ASCII characters. -fp = open(textfile, 'rb') +fp = open(textfile, 'r') # Create a text/plain message msg = MIMEText(fp.read()) fp.close()