
I need python code which will watch for directory for XML files. Once the xml is generated, i need to send email to the persons. 'TO' email is dynamic and it would be available with 'BillingCode field in xml file which is generated. Also in mail body i need to use other xml fields.
Please suggest!