I have a HTML form created in Dreamweaver MX, how can I use DWMX to output the results to a formatted file via e-mail?
I cannot gurantee that this is the best option but this is how I receive FORM data to EMAIL:
If you want the users name and email address. Compose a TABLE with the required fields that you want returned. The TABLEs NAME becomes your VAR (eg NAME = $NAME). This can be referenced from within a small PHP SCRIPT using the in built call <? MAIL($to, $subject, $body,$from);?>
Hence
FORM Parsed NAME + EMAIL into PHP Parsed $NAME + $EMAIL:
set var: *$to = $YOUR EMAIL
$from = $EMAIL
- this can be concenated from various variables to stop robots picking your addresss out of your source code???
I'm a little new to PHP so I'm unsure if there are any problems with using this call or whether it has been superceded, but its works, so I use it?