> > if form.accepts(request, formname=None): > > message=%(request.vars.distributor,request.vars.dba,request.vars.contactnum,request.vars.fax,request.vars.location,request.vars.locationtwo,request.vars.city,request.vars.state,request.vars.zip, > request.vars.name,request.vars.contact,request.vars.email) >
Looks like that would produce a syntax error. How exactly do you want to format the message? Give an example of how you want the output to look. Also, do you want the email to be formatted as text or html? Also, why do you have formname=None? Anthony