simple script to read and output Mailbox body to file.

Chuck Amadi chuck at smtl.co.uk
Tue Jun 8 17:58:48 CEST 2004


Hi again after breaking down the script into easier chunks .
I now get this .

Here's the output from the script but WHAT about all messages bodies 

Cheers

chuck at sevenofnine:~/pythonScript> python getSurveyMail.py
mail
WWW Survey
text/plain
<wwwsurvey>
Country you are currently working in:<country>UNITED STATES</country>
Postal code or ZIP Code of your facility if you know it:<zipcode>
12345</zipcode>
Your Profession:<profession>Nurse</profession>
How long you have been qualifed:<qualified>&lt; 1 Year</qualified>
Is Wound Management Your primary role:<iswoundmgt>A major part of your daily 
activities</iswoundmgt>
Specific area of interest in the list below:<specificareas>Veterinary 
medicine</specificareas>
Do you read a paper &ndash; based wm journal:<journal>Yes</journal>
If Yes your comments:<jcomments>bugs news</jcomments>
Favorite topics in the World Wide Wounds:<favorite>['Dressings information', 
'News']</favorite>
Further Information: required:<furtherinfo>all covered really</furtherinfo>
Your Email Address:<email>it at smtl.co.uk</email>
</wwwsurvey>





More information about the Python-list mailing list