Results 1 to 4 of 4

Thread: Link submit button to my email???

  1. #1
    Registered User
    Join Date
    Oct 2003
    Location
    London
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Unhappy Link submit button to my email???

    Could someone kindly tell me how to link my "Submit" button to my email address with Dreamweaver or could they reply with the HTML tag??? I want my clients to hit the submit button so that it automatically sends the form with it to my email box.

    Thanks Heaps

  2. #2
    The stug Shad's Avatar
    Join Date
    Jul 2003
    Location
    In front
    Posts
    2,767
    Thanks
    22
    Thanked
    36 times in 23 posts
    • Shad's system
      • Motherboard:
      • ASUS M3A79-T Deluxe
      • CPU:
      • AMD Phenom II X4 940 Black Edition
      • Memory:
      • GSkill 8Gb DDR2
      • Storage:
      • 4Tb
      • Graphics card(s):
      • ATI Radeon 4850 and 3850
      • PSU:
      • Zalman 750 heatpipe thingy
      • Case:
      • Hiper Osiris
      • Operating System:
      • Windows Server 2008 R2
      • Monitor(s):
      • 20.1", 2x 19" widescreen, 32" HDTV
      • Internet:
      • 50mb cable
    Well the best way to do this is with a server side script, but you can set the action of a form to an email address (possibly with mailto: in front, cant remember) and the form will be sent to the address.
    Simon


  3. #3
    HEXUS.net Webmaster Iain's Avatar
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    if you're trying to get a form submitted by the user to be sent via email then Shad is correct, your host will need to allow you to send SMTP mails and you will need a server side script e.g. CGI or PHP (don't listen to Shad if he talks about ASP ) in order to process it. The only alternative is to have a mailto: link built using javascript where the subject and body are populated from the submitted form e.g. <a href = mailto: blah@blah.com?subject=some subject text&body=the main body of your email>

    I'd investigate the former with your webhost first though as the second relies on your web user having an email client installed

  4. #4
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Ok open your form using the <FORM> tag. Within the form put <input type="submit">

    This is effect is your submit button which will submit whatever is within the <FORM> and </FORM> tags.

    Hope that helps

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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