im designing a website using dreamweaver mx 2004 and i would like users to contact me via email using a form and when they press a button it sends the information in the form as an email to a specific address.

Recommended Answers

All 6 Replies

do you have a server side language like php available on your server?

its not being uploaded yet as its a college project but when its finished it will be but i dont have a server as yet. at the moment im just running the site from a disk.

ok in that case you have a few options open to you:

1) the traditional mailto: note this doesn't work unless the user has dedicated email software. AOL users willl think your site is junk.

<FORM METHOD=POST ACTION="mailto:someone@$nailmail.com" ENCTYPE="text/plain">
<!-- your form here -->
<INPUT TYPE="submit" VALUE="Send">
<INPUT TYPE="reset" VALUE="Clear">
</FORM>

2) Javascript processing:
http://www.javaworld.com/javaworld/jw-06-1996/jw-06-javascript.html
Doesn't work for users with javascript disabled (about 10%)

3) Borrow someone elses php processing: see link below, second post, someone offering to handle low volume email.
http://www.webdeveloper.com/forum/showthread.php?s=&threadid=39991

no worries ;) which did you choose?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.