[Tutor] Stdin email question
Daniel Nash
dan_nash@hotmail.com
Sat May 17 14:11:01 2003
>>Surely...
>>the_whole_thing = sys.stdin.read()
>>...will give you the whole shebang if you don't move the
>>file pointer by using "headers = rfc822.Message(sys.stdin)"
>>first?
Ok so if I do this first,
the_whole_thing = sys.stdin.read()
then
headers = rfc822.Message(sys.stdin)
No longer works because of the file pointer
How can I fix this?
Dan
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail