Posted on 2006-05-10
Last Modified: 2008-01-09
Hello Everyone

I am currently doing a simple site and need to include a simple form that people can submit some simple contact details.

This is my form:

            <INPUT TYPE="text" NAME="name" SIZE="30">
            <INPUT TYPE="text" NAME="organisation" SIZE="30">
            <INPUT TYPE="text" NAME="email" SIZE="30">
          Contact Number:
            <INPUT TYPE="text" NAME="phone" SIZE="30">
            <TEXTAREA NAME="comment" ROWS=6 COLS=40></TEXTAREA>
            <INPUT TYPE="submit">
            <INPUT TYPE="reset">

Here is my problem. The form managed to submit and send to my inbox but... All the details come in a POSTDATA.ATT file attachment to me. Obviously I didnt want this and I have no idea what and how to read ATT files. I was hoping the submitted details would have come in simple displayed text format. : (

I searched online and it says that "ACTION="mailto:..." is not supported by IE any more.

If anyone would how I could do this simple mailto form to get it to catupure and submit the details to my inbox, I would be a BIG BIG help. Its quite urgent too. Im using dreamweaver and am not really that good of a coder.

A solution to this would be of great help to me. Thanks!

Question by:siamesefish
    LVL 14

    Expert Comment

    what kind of server scripting is available? perl, php, asp?

    Author Comment

    I think all of the above. But I can't really test any of them cause im using XP home Edition and I don't have that testing support...: ( I was hoping for a simple way.
    LVL 8

    Assisted Solution

    Hi. Firstly, for the POSTDATA.ATT thing you may try using

    <FORM METHOD="POST" ACTION="" enctype="text/plain">

    so to force the mail delivered in clear text. However, as you mentioned, IE doesn't support action="mailto:..." now. So, would you mind if the client will get a "compose" window when they submit?
    LVL 1

    Expert Comment


    You know you can download free form-to-mail scripts written in cgi or asp?  There are even some services where these scripts are hosted (see, although I believe they 'thank you' pages - that are displayed when the form is submitted would be plastered with adverts.

    The best solution for you is if you can run these scripts on your own server.

    Author Comment

    ah that enctype works
    but only if the user has outlook and a set up outlook account.

    is there a way to do it without needing outlook or other mail support?

    (thanks : )
    LVL 1

    Expert Comment

    LVL 14

    Assisted Solution

    here's an online tool that can create a simple contact from in any of those scripting languages (perl, php, asp)

    here's a pretty easy to customize php one, includes a sample html page with a form already made that uses it...

    and this is the php script i use, when i need one..

    your hosting provider may have "form mailer" or "contact us" scripts available for your use as well.. these are the two i provide for my hosting clients:


    Author Comment

    I used the one from to generate the form.

    they created a contact.htm
    and a contact.asp

    the last step, how do i get them to work together?
    Pardon if i seem like a total noob.

    When i tried I get this error message.
    "The requested method POST is not allowed for the URL /contact.asp."

    I created 2 pages. one with the form and a blank one with just the asp coding. Is that correct?
    LVL 4

    Accepted Solution

    Maybe this help to explain.


    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
    Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
    The viewer will learn how to dynamically set the form action using jQuery.
    The viewer will learn how to count occurrences of each item in an array.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now