A similar question was asked before , but the answers offered a workaround that is not applicable to my situation.
The email is sent from mutt to script and read from STDIN:
message = sys.stdin.read()
I understand that raw_input () will get EOF to the left of read (), but is there a way to "reset" STDIN?
janeden
source share