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
    Regular Coder
    Join Date
    Oct 2009
    Location
    London, ON
    Posts
    112
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Problems with creating a form with email functionalty

    View it live here - nickhiebert.com/test_site/contact.html

    This is what I'm using now
    Code:
     <form action="MAILTO:sampleemail@email.com" method="post" enctype="text/plain">
    			Name:<br>
    			<input type="text" name="name" size="40">
    			<br>
                <br />
    			Email:<br>
    			<input type="text" name="mail" size="40">
    			<br>
                <br />
    			Subject:<br>
    			<input type="text" name="subject" size="40">
    			<br>
                <br />
    			Message:<br>
    			<textarea rows="8" cols="31"></textarea><br />
                <br />
    			<input type="submit" value="Send">
                <input type="reset" value="Reset">
    			</form>
    The problem I'm having is not working. Anyone know of any other ways? I found a sample of this and modified it from this link - w3schools.com/html/tryit.asp?filename=tryhtml_form_mail

    Help would be appreciated

    Thanks

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello again nickHiebert,
    A mailto may not be the best way to go. Have a look at this page.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    Regular Coder
    Join Date
    Jul 2003
    Posts
    117
    Thanks
    0
    Thanked 17 Times in 17 Posts
    mailto may not work in all conditions see:
    Email form using 'mailto'

    and
    How to get email from html form submission


  •  

    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
    •