Click to See Complete Forum and Search --> : FOrmatting email


gprit
02-01-2010, 04:31 AM
I Use Net Objects fusion to creat websites and it has a form handler that processes eg enquiry details. All is working ok except that the resulting email is not formatted (see below).
I tracked te file down to an .XML file that contains the text and (I am a newbie at XML) naively though all I had to do was to space out the text...change SIr/Madam to the client name etc. I used Notepad to do this, uploaded to server...BUT nothing changed - is there anything else I should be doing?

<?xml version="1.0"?>
<nof:formInfo xmlns:nof="http://www.netobjects.com/fusion/forminfo" version="1"><nof:parameters><nof:parameter id="smtpServer" name="mail.hotelduchateau-dordogne.com"/><nof:parameter id="from" name="Hotel Restaurant du Chateau Website"/><nof:parameter id="to" name="contact@hrdc.com"/><nof:parameter id="subject" name="Enquiry from website"/><nof:parameter id="successUrl" name="http://hotelduchateau-dordogne.com/EN/html/thank_you.html"/><nof:parameter id="filePath" name=""/><nof:parameter id="fileUploadFld" name=""/></nof:parameters><nof:fields><nof:field name="Name:"/><nof:field name="Country:"/><nof:field name="email:"/><nof:field name="Telephone:"/><nof:field name="Source:"/><nof:field name="ArrivalDateDD:"/><nof:field name="ArrivalDateMM"/><nof:field name="ArrivalDateYY"/><nof:field name="DepartDateDD:"/><nof:field name="DepartDateMM:"/><nof:field name="DepartDateYY:"/><nof:field name="Numberofpeople:"/><nof:field name="FormsCheckbox4"/><nof:field name="FormsCheckbox5"/><nof:field name="FormsCheckbox6"/><nof:field name="FormsCheckbox7"/><nof:field name="FormsCheckbox9"/><nof:field name="FormsCheckbox10"/><nof:field name="FormsCheckbox11"/><nof:field name="FormsCheckbox12"/><nof:field name="FormsMultiLine2"/></nof:fields><nof:template><![CDATA[
Dear Sir/Madam,

Here is the submitted data:

Name: [Name:]
Country: [Country:]
email: [email:]
Telephone: [Telephone:]
How did you hear about us?: [Source:]
Arrival date: DD: [ArrivalDateDD:]
MM: [ArrivalDateMM]
YY: [ArrivalDateYY]
Departure date:DD: [DepartDateDD:]
MM: [DepartDateMM:]
YY: [DepartDateYY:]
Number of people: [Numberofpeople:]
Single room [FormsCheckbox4]
Double room - large bed - 2 persons [FormsCheckbox5]
Extra bed [FormsCheckbox6]
Studio apartment - 2 persons [FormsCheckbox7]
Bedroom ‘budget’ room - 2 persons [FormsCheckbox9]
Twin room - 2 beds - 2 persons [FormsCheckbox10]
Large Family Bedroom (Large bed + 2 bunk beds) - 2 adults + 2 children [FormsCheckbox11]
Gift Vouchers for accommodation or a meal! [FormsCheckbox12]
Message: [FormsMultiLine2]

Thank you]]></nof:template></nof:formInfo>