Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2012
    Posts
    35
    Thanks
    16
    Thanked 0 Times in 0 Posts

    Help make my "send" button send a message to my email!

    Hi there everyone,

    I just completed designing my website but I need some help with one last thing before it is complete.

    On the contact.html page, I have a section where potential clients can send me a message to my email address (ddcreativedesigns@gmail.com). I created a "send" and "reset" button. Here's what I need some help with.

    Once someone has typed out all of the information, when they click the "send" button, I want that to automatically send me their name, email, subject and message (the info they typed into the boxes) to my gmail inbox at the address above. I am not sure how this can be achieved, so any help with this would be greatly appreciated!

    Here's a link to all of the files for my site (HTML, CSS, JS): http://ge.tt/9Ae9pjq/v/0

    Thank you!

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,454
    Thanks
    0
    Thanked 632 Times in 622 Posts
    What server side languages does your hosting support? You need to obtain a form2mail script that is written in one of those languages.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • #3
    Regular Coder
    Join Date
    Aug 2005
    Location
    MS
    Posts
    820
    Thanks
    10
    Thanked 78 Times in 76 Posts
    Should help:

    Forms:

    Recommend using a server-side script language if your web site allows it. Otherwise, you will have to use a client-side dependent "mailto:" action to get the form info sent to you.

    Your current hosting package or service MUST allow SMTP ( http://en.wikipedia.org/wiki/Simple_...nsfer_Protocol ) to work. Otherwise, no email can be sent.

    Setting Up the SMTP Service: http://www.code-crafters.com/ability...rial_smtp.html
    Simple Mail Transfer Protocol: http://tools.ietf.org/html/rfc5321#section-2.3.11

    PHP: Sending Email Tutorial (Text/HTML/Attachments): http://www.webcheatsheet.com/php/sen...attachment.php

    Use any of the below sites to make the workable form you need:

    These are really good online form makers. Just follow the instructions for making it and uploading file(s).

    Contact Form Generator: http://www.tele-pro.co.uk/scripts/contact_form/
    WYSIWYG Form Maker: http://www.jotform.com/?gclid=CNKhqe...FRQhnAod6laUqA
    http://www.thesitewizard.com/wizards/feedbackform.shtml
    http://www.form2email.net/
    http://www.phpform.org/

    http://www.thepcmanwebsite.com/form_mail.shtml
    http://emailmeform.com/
    http://www.freecontactform.com/
    http://www.reconn.us/content/view/12/34/ (Download - Contact Us Script)
    http://formsmarts.com/

    http://apptools.com/phptools/forms/forms1.php
    Form Service: http://www.mycontactform.com/
    Online Free Tool, PHP Contact Form Code Generator: http://www.htmlbasix.com/contactform.shtml
    PHP Mailer Script Step by Step: http://www.htmlgoodies.com/beyond/ph...le.php/3855686
    PHP Sending E-mails: http://www.w3schools.com/PHP/php_mail.asp

    How to Make a Slick Ajax Contact Form with jQuery and PHP: http://www.elated.com/articles/slick...rm-jquery-php/
    Ajax - Creating an HTML Form: http://www.tizag.com/ajaxTutorial/ajaxform.php

    Freebie: Good looking Fluid Contact Form: http://www.flashuser.net/flash-compo...tact-form.html

    Put an online contact form on your site in about 8 minutes (Requires an account): http://response-o-matic.com/

    Form2Email.net (free - Designed to keep away spam. Your e-mail address is hidden in the script. Can be used to send almost any form, and if required, keeps a log of all e-mails. Supports required fields, SMTP, multiple e-mails, auto responder and file upload.): http://www.form2email.net/

    How to submit a form to multiple email addresses: http://webdesign.about.com/b/2008/01...-addresses.htm
    ☠ ☠RON☠ ☠


  •  

    Tags for this Thread

    Posting Permissions

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