SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast emcgill's Avatar
    Join Date
    Jul 1999
    Location
    Michigan, USA
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey,

    I am trying to implement a mailto for on my web site, so that visitors can fill in the form, click submit and have it e-mailed to me at my address.

    I have the form all setup, and submit button linked to send. But when I actually send a test message to myself, all I recieve is a attachment called "POSTDATA.ATT"

    <form method="post" action="mailto:eric@fivemiledesign.com">
    Your Name: <input type="text" name="name" size="30"><p>
    Your E-Mail Address: <input type="text" name="e-mail" size="30"><p>
    Your Message: <textarea name="comment" ROWS=10 COLS=80></textarea> <p>
    <center><input type="submit"> <input type="reset"></center>

    </form>

    Is there a different type of something I should use for the method so I get the full results, instead of this un-openable (if thats a word) file?

    Thank you all,

    Eric

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    That file is openable. It is a simple text file. Open it in Notepad and you can see the results. If you want something more readable then you will have to use a script to process the form and mail the results to you in the body of a message. These scripts are quite common and chances are your host already has one you can use. Even free servers like geocities offer form processing.

    ------------------
    Wayne Luke

    The Majormud Encyclopedia - www.bloodquest2.com
    Come Play one of the hottest games on the net.



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •