>>>>> "PC" == Pavel Chytil <pchytil@asp.ogi.edu> writes: | lines = email.Iterators.body_line_iterator(msg)[:] Sorry, change this line to lines = list(email.Iterators.body_line_iterator(msg)) (You probably need to back out the previous patch first, before applying the second one I sent.) -Barry