Results 1 to 4 of 4

Thread: Can anyone help me with the following code?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2005
    Location
    San Bernardino, CA
    Posts
    102

    Default Can anyone help me with the following code?

    I don't know what's wrong with it.

    <FORM METHOD="POST" ACTION="mailto:EMAIL HERE">
    <font face="arial" size="-1" color="#ffffff">Name:
    <input type="text" name="name" style="width:65px;">


    <font face="arial" size="-1" color="#ffffff">E-mail:
    <input type="text" name="mail" style="width:80px;">




    <input type="button" name="send" value="Send!" style="width:50px;">

    When I try testing it by sending an email to myself it wont send it. :cry:

  2. #2
    Join Date
    Jan 2005
    Posts
    117

    Default Re: Can anyone help me with the following code?

    Quote Originally Posted by venom1588
    I don't know what's wrong with it.

    <FORM METHOD="POST" ACTION="mailto:EMAIL HERE">
    <font face="arial" size="-1" color="#ffffff">Name:
    <input type="text" name="name" style="width:65px;">


    <font face="arial" size="-1" color="#ffffff">E-mail:
    <input type="text" name="mail" style="width:80px;">




    <input type="button" name="send" value="Send!" style="width:50px;">

    When I try testing it by sending an email to myself it wont send it. :cry:
    You need a PHP or CGI script. go to tripod.lycos.com, they have a comment form which is similar.

  3. #3
    Join Date
    Feb 2005
    Posts
    8

    Default mail

    To send a mail directly you have to set up a mail server on the site server.
    Anyway it have to be done with php or cgi like elliot said.

    you can make and account in http://www.formbuddy.com
    they will provide you of redirection service of the info from the form to the mail.

    See this example i made : http://format.8bit.co.uk/HTML/ServInte.htm

    Good luck!

  4. #4
    Join Date
    Feb 2005
    Posts
    16

    Default Well

    Hi there, well, I've been prompted with the same question for myself.
    If you do not know how to edit a CGI-BIN file/don't have access to/need it fast and you don't have a webhoster that supports this kind of files you can just create an account on http://www.freewebs.com, it has great services, including no ads or banners and they have there a built in form that you can modify as you like and also use it from a different location.
    Let's say, you have your whole site hosted at some webhoster but you need the form, than you can just register there and then activate the code from your other webhoster!

    Hope I helped, Me.

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
  •