Submit Button to E-mail

Discussion in 'Web Design and Development' started by AFPoster, May 11, 2011.

  1. AFPoster macrumors 65816

    Joined:
    Jul 14, 2008
    Location:
    Charlotte, NC
    #1
    I made a form with a Submit button at the bottom (pic attached). When clicking the submit button I'd like it to send all the content filled in the form to my email address. How would I go about coding this?
     

    Attached Files:

  2. dkotter macrumors member

    Joined:
    Jul 30, 2009
    #2
    The easiest thing to do would be to follow the code found here, which uses mailto as the form action. Now I will say that you shouldn't use this method, if at all possible. It could work, but there are a lot of issues with it.

    You're better of building something in say PHP that the form submits to and it will process the information, validate it, and then email it to you. There are plenty of tutorials out there, but here is on I just found that might help you out.
     
  3. AFPoster thread starter macrumors 65816

    Joined:
    Jul 14, 2008
    Location:
    Charlotte, NC
    #3
    all of this stuff is new to me. working on figuring this php thing out.
     

Share This Page