I require an ASP Function (to be used as an include file) that I can pass and SQL statement to that will generate and XML file and email it to the notminated email address. The function should be like: GenerateXML(sSql, sTo, sCC, sBCC, sSubject, sMsg) Where sSql = the SQL used to generate the recordset sTo = the To email address(es) (could be like "address1" or "address1, address2" etc.) sCC = all CC email address(es) (could be like "address1" or "address1, address2" etc.) sBCC = all BCC email address(es) (could be like "address1" or "address1, address2" etc.) sSubject = The subject line sMsg = The message text The XML file should be in the standard XML format for transfer between businesses. The SQL will be run against an access database where the DSN has been sent in a config file. EG: Set Rs = [login to view URL]("[login to view URL]") [login to view URL] sSql, sDSN, adOpenStatic, adLockReadOnly, adCmdText
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
Windows 2000 server
## Deadline information
**Only those bids that can meet the deadline will be accepted.**