www.webdeveloper.com
Results 1 to 6 of 6

Thread: Help with Forms <mailto> option

  1. #1
    Join Date
    Sep 2003
    Posts
    8

    Help with Forms <mailto> option

    Tryin to figure this out still...

    I am making a small database where people can order items off our website (its a game called Ultima Online, where they can buy ingame items for gold, non profit $$)

    www.saintsofnapa.com/sonorderform.htm

    Thats the website of the form im working on. Frustrating. I can get everythign to work, but when I receive the email, I get one line with all the information on there. Thats bad... and confusing.

    What I am trying to do is receive the email with everything returned, or view it as I see the website, that would be ideal. To receive an email, that looks like the website, with the spaces filled in.

    Anyway, I tryed some advice earler, called a --WEBBOT-SELF-- command, but It did not work, and I was at a dead end with it, if anybody has any advice of what I can do, please help.

    My Email address is Webmaster@saintsofnapa.com, my ICQ is 409707. Or respond here, I'll be checking through the night, and tomarrow while im at work.

    Thanks!

    Jim.

  2. #2
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    use a server side language. Using the mailto opetion does not allow you to send html emails. If you used a php asp etc mailer it would work fine. Also a mailto form only works if the user has a main client on their machine.

  3. #3
    Join Date
    Feb 2003
    Location
    Wales, UK
    Posts
    3,148
    As PeOfEo says, you really need a server side code.

    In the meantime, open your page in notepad, and change the line

    <form action="mailto:Webmaster@Saintsofnapa.com" method="post">

    to

    <form action="mailto:Webmaster@Saintsofnapa.com" method="post" enctype="text/plain">
    (it's quite near the top - just after the <body etc> tag.)
    Which should fix your immediate problem.
    Also, Word/Frontpage is not the best way to create a website...

    What server side languages do you have? Then we could probably find a script for you.
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.


    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

  4. #4
    Join Date
    Sep 2003
    Posts
    8
    Thanks for the help man.

    Ya got me on those languages, im still a severe newbie on building webpages.

  5. #5
    Join Date
    Feb 2003
    Location
    Wales, UK
    Posts
    3,148
    If you look at your hosting deal, it should tell you what server side languages you have available to you. Then there are some simple scripts you can set up to handle it for you. They're a bit more reliable than the mailto - anyone using a browser based email client - like AOL, can't use a mailto. Unless they've updated it.
    In a world without walls and fences - who needs Windows and Gates?! - Unknown Author
    "And there's Bill Gates, the...most...famous...man in the...ah...Microsoft." -- A TV commentator for the 2000 Olympics.


    Web Design Faq? | W3C | Validator | Accessibility testing | Speed up your PC | Wura | Box Model Research

  6. #6
    Join Date
    Nov 2002
    Location
    Auburn, AL
    Posts
    9,224
    Go to your hosts faq page and see what they support. You are looking for one of the following:
    ASP
    PHP
    ASP.NET
    CGI
    JSP
    SHTML
    if you dont see anything about any of these chances are your host doesnt allow you to use a server side language. If you cant find anything contact their support. If they tell you that they dont support it you either need to look for a new host or you need to go to a feedback center to control your forms, such as www.response-o-matic.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles