Results 1 to 6 of 6

Thread: Form Sender - Without having to go through another server - How?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    10

    Form Sender - Without having to go through another server - How?

    How can I make a web form that the results can be sent directly to my e-mail without having to go through another server?

  2. #2

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    10

    Question

    Do I need to explain better?

  3. #3
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Assuming you don't have a server-side methods like PHP, ASP, Perl, etc. the only thing I think you can do is something like this:

    Code:
    <form action="mailto:[email protected]" enctype="text/plain"><div>
      Name: <input type="text" name="Name"><br>
      Subject: <input type="text" name="subject"><br>
      Comments: <textarea name="comments" cols="20" rows="10"><textarea><br>
      <input type="submit" value="Send Comments"><input type="reset" value="Clear Form">
    </div></form>
    But that will just open the user's e-mail client.

  4. #4
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    That code doesn't work in Netscape. It just opens a blank email.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

  5. #5
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    I think that's 'cause I gave incorrect code This:

    Code:
    Comments: <textarea name="comments" cols="20" rows="10"><textarea><br>
    Should have been this:


    Code:
    Comments: <textarea name="body" cols="20" rows="10"></textarea><br>
    Or you could add method="post" to have all the form elements added to the body along with their name. But I think if you use AOL none of the above will work.

  6. #6
    Hyperactive Member GingerNut's Avatar
    Join Date
    May 2002
    Location
    Are those my feet?
    Posts
    372
    When I started off doing websites I used a similar form for my sites, but then I realised that netscape users couldn't use the form. I use cgi or php now. I also noticed that Explorer 6 does the same thing, just opening the email.
    How is it one careless match can start a forest fire, but it takes a whole box to start a campfire?

    Global Freelancers | Web Traffic Analyser

Posting Permissions

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



Click Here to Expand Forum to Full Width