Click to See Complete Forum and Search --> : MX FORMS to email ouput
Jaspal
02-12-2003, 01:20 PM
help people please...
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?
HTML >>> Formatted E-mail output.
????
Cheers
KevinMG
02-15-2003, 01:16 AM
your best bet would be to hand code something...most likely using the $_POST variables...
if you're not up for hand-coding it yourself, try this out... http://www.endsdesign.com/dcf/. This will take any HTML form and email the contents to your specified email address.
CJ@G3
03-05-2003, 11:15 AM
you can always specify the form's action as "mailto:watever@me.com", not reccommended.
as kevin said, if you're not up to coding, use something like the emailer form on www.bravenet.com, which emails you the form contents. you simply write your form like this:
<form action="http://pub36.bravenet.com/emailfwd/senddata.php" method="post" name="contact_form" enctype="multipart/form-data">
<input type="hidden" name="usernum" value="<SUPPLIED>" />
<input type="hidden" name="cpv" value="1" />
.....
....
</form>
CJ
PabloAgogo
03-26-2003, 12:18 PM
--------------------------------------------------------------------------------
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?
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.