SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2004
    Posts
    108
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Send Email on Submit?

    Hi,
    Rookie question ...
    I have something like this:

    -----------------------------------
    <html><head></head><body>
    <form id="myForm">
    <p>Name - <input type="text" name="txt1"></p>
    <p>Age - <input type="text" name="txt2"></p>
    <p><input type="submit" name="bt1" value="send"></p>
    </form>
    </body></html>
    -----------------------------------

    How can i make it send the content of the textboxes to a specific email?

    Thanks

  2. #2
    SitePoint Addict rokc's Avatar
    Join Date
    Oct 2004
    Posts
    280
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You will need to use Server-Side Scripting Language To Do This....I think the Question Is Posted In Wrong Forum

  3. #3
    SitePoint Evangelist SpaceFrog's Avatar
    Join Date
    Jan 2005
    Location
    Outerspace
    Posts
    511
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    form action="mailto:address@provider.com"

    but this will only put message in user's sendbox... user would then need to send messages ...

    form action="mailform.php" with a server side mail script this would avoid having to pass thru outlook or whatever mail soft


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
  •