A "send button" in a email message

Discussion in 'HTML & Website Design' started by crazyhorse, Jan 15, 2005.

  1. #1
    Anyone knows whether there is some little coding or script for this. I would like people to answer my survey and then be able to send the email back to me by pressing a button on the bottom of the survey. :eek:
     
    crazyhorse, Jan 15, 2005 IP
  2. Bernard

    Bernard Well-Known Member

    Messages:
    1,608
    Likes Received:
    107
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Not everyone accepts e-mails in HTML for security reasons. It would be much better to e-mail a link to your survey hosted on a web site IMO.
     
    Bernard, Jan 15, 2005 IP
  3. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That aint a answer on my question but thanks anyway. Now i still dont know how to do it..:(
     
    crazyhorse, Jan 16, 2005 IP
  4. J.D.

    J.D. Peon

    Messages:
    1,198
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can submit text-only surveys using the mailto scheme. For example:

    <form action="mailto:survey@my-domain.com" method="post">
    <input type="text" name="subject"> 
    <input type="text" name="body">
    <input type="text" name="from" value="customer@their-domain.com">
    <input type="submit" value="Submit">
    </form>
    Code (markup):
    You can also use http for submission - the recipient would fill out the form in the email, but then would submit it using the http address you stick to "action". This way you are not restricted to a handful of search arguments, like body or subject.

    I don't think HTML would be a problem with most consumers (even companies don't block HTML that often) - you can send HTML forms. However, most mail programs simply block what's inside <script>, so the script wouldn't work most of the time.

    J.D.
     
    J.D., Jan 18, 2005 IP