Results 1 to 4 of 4

Thread: Submitting a form to e-mail address

  1. #1
    Join Date
    May 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Submitting a form to e-mail address

    Hi,

    Can someone help me with the code to submit a form to an e-mail address?

    Thanx

  2. #2
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Code:
    <FORM METHOD="post" ACTION="mailto:you@yourdomain.be" ENCTYPE="text/plain">
    Code:
    <INPUT TYPE="submit" VALUE="send" style="width:100px;">

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    That will work, but only if the user has their default email program setup and working, and they choose to send with it. I'd suggest looking into (slightly more complex) a free form mailer (google that), or creating your own PHP mailform. The last option is complex, but it would be the best.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  4. #4
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Indeed, php is the best.
    To help you out: here are a few threads about php mail form.
    http://www.dynamicdrive.com/forums/s...archid=1628711

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
  •