Thread: Help someone with web site: form to email self

  1. #1
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    Help someone with web site: form to email self

    Someone asked me if I know how to make an online form that sends an email to the webmaster automatically. I don't know how to, so he asked me to ask someone else. It would look something like this site:
    http://www.drsouers.com/contact

    If you can help him, email:
    [email protected]

  2. #2
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    It's simple html code:
    Code:
    <form name="MyForm" action = "mailto:[email protected]" method = "post">
    <!--Put the fields of the form here-->
    </form>
    You will get an e-mail with no spaces( spaces are represented with '+' ), containing the name of the field and it's value...

    I hope this answers your question
    none...

  3. #3
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Of course IE users will get a security warning box when their form data gets mailto'ed like that...

    the alternative is a CGI form mailer.

  4. #4
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    hmmmm...any chance of setting that up so that we could have a field to determine where it was sent? It would be a really easy way around my school's "no email" policy.
    Away.

  5. #5
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    For the lazy programmer...

    http://www.response-o-matic.com

  6. #6
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Originally posted by blackrat364
    hmmmm...any chance of setting that up so that we could have a field to determine where it was sent? It would be a really easy way around my school's "no email" policy.
    You're school might have form redirection blocked.

  7. #7
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Oh...well, they aren't intelligent, they just have websense blocking hotmail, yahoo mail, etc.
    Away.

  8. #8
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    If you want an email thing like that guys website, then steal his source code... right click on the page and go to View Source, viola!
    If you ever need a hug, just ask.

  9. #9
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    email the guy with questions. Don't ask me, this really isn't for me.

  10. #10
    Banal internet user
    Join Date
    Aug 2002
    Posts
    1,380
    Originally posted by CheesyMoo
    If you want an email thing like that guys website, then steal his source code... right click on the page and go to View Source, viola!
    It's a CGI program!

  11. #11
    The Pantless Man CheesyMoo's Avatar
    Join Date
    Jan 2003
    Posts
    262
    Hey, quit expecting me to pay attention!
    If you ever need a hug, just ask.

  12. #12
    Just a Member ammar's Avatar
    Join Date
    Jun 2002
    Posts
    953
    Ofcourse the right way is to use CGI, but if you want a fast solution you can use action="mailtto:...".
    Some people don't know how to write CGI, and some servers doesn't allow CGI.
    none...

  13. #13
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    mailto assumes you have an isp email account, which some hotmail users don't. CGI is the best way.

  14. #14
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    You can use some free service which do that like bravenet if you know ASP and stuff there are providers who support ASP with ASP mail component such as brinkster

  15. #15
    Registered User Nutshell's Avatar
    Join Date
    Jan 2002
    Posts
    1,020
    Some free web hosts provide email cgi scripts for you to use.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. FYI: The main web site page got hacked.
    By Dino in forum A Brief History of Cprogramming.com
    Replies: 53
    Last Post: 04-30-2008, 04:22 AM
  2. im looking for this specific web site...
    By revelation437 in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 07-31-2003, 10:38 AM
  3. Try my web site
    By Leeman_s in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 11-12-2001, 01:48 PM
  4. Game Company Web Sites
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 08-17-2001, 08:32 PM