I use a php form script from [url removed, login to view] - I got off the internet to fill out a form and email the results. The results are emailed to the sender with comments and to the person designated to receive the email.
I ONLY want to change the format of the email that goes to the person designated to receive the email. It needs to be sent in an ADF format which is Auto-lead Data Format/ADF - An industry standard data format for the export and import of automotive customer leads using xml. I have an example of an email but mine will be simple because I only have first and last name, email address, the service provider which is me, The request date, contact no., advertising source, and the rest of the information (vehicle info) will go under comments. I need this done so the information goes directly into a CRM system.
<?xml version='1.0'?><?adf version='1.0'?>
<requestdate>2010-06-03 18:23:[url removed, login to view]</requestdate>
<model>3 Series</model></vehicle><customer><contact><name part='first'>Paul</name><name part='last'>Wiefels</name><email></email><phone>3137772323</phone></contact></customer><vendor><vendorname><![CDATA[BMW of the West]]></vendorname><contact><name part='full'></name></contact></vendor><provider><name part='full'><![CDATA[Forms Galore, Inc.]]></name><service>DIRECT MAIL PROGRAM - Website Sales Lead</service><url>[url removed, login to view]</url><email></email><phone>800-888-8888</phone><contact primarycontact='1'><name part='full'>Lynn Rogers</name>
<email></email><phone type='voice' time='day'>800-999-9999</phone><phone type='fax' time='day'>678-777-7777</phone><address><street line='1'>568 Dogwood Way</street><street line='2'></street><city>Dawsonville</city><regioncode>GA</regioncode><postalcode>30534</postalcode><country>US</country></address></contact></provider></prospect></adf>