1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can forms be in email?

Discussion in 'Programming' started by TwisterMc, Jun 21, 2005.

  1. #1
    Is it possible to have a form in an email message and when the person hits submit it goes to the web to submit the data? I've found out you can't 'post' information and I've not been having luck at all. Is it possible? Have you done it?
     
    TwisterMc, Jun 21, 2005 IP
  2. jrd1mra

    jrd1mra Peon

    Messages:
    243
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes it is possible

    <form name="form1" method="post" action="http://www.domain.com/e-mail_info.php">
    <table class=contentpaneopen cellpadding=5 cellspacing=5><tr valign=top><td>
    <label class=header>Enter&nbsp;your&nbsp;email&nbsp;address:</label></td><td>
    <input type="text" name="Email" size="35" maxlength="60"><br><br>
    <input valign=bottom name="Submit" value="Submit" type="submit"><input name="newsletter" type="hidden" value="seochat">
    </td>
     
    jrd1mra, Jun 21, 2005 IP
  3. jrd1mra

    jrd1mra Peon

    Messages:
    243
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    just write any e-mail in html and everything should work the same
     
    jrd1mra, Jun 21, 2005 IP
  4. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    So the POST action still works? Hummm
     
    TwisterMc, Jun 21, 2005 IP
  5. Josh

    Josh Peon

    Messages:
    893
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Problem is it only works if the emial client supports HTML mail.. so you'll be limiting your compatibility.


    Josh
     
    Josh, Jun 21, 2005 IP
  6. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I'm using two email clients that both support HTML. Mail from Apple and Thunderbird. Neither of which send any information over. Both display the form correctly, and have the correct source code, however neither sends any info via POST to the thanks page. Gmail works though.
     
    TwisterMc, Jun 22, 2005 IP
  7. dave487

    dave487 Peon

    Messages:
    701
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Using a form in an email will generate lots of problems if the receiver of the email has any anti-virus protection.

    A modern, off the shelf PC will require lots of configuration to allow the user to use forms that are embedded in an email.
     
    dave487, Jun 22, 2005 IP
  8. TwisterMc

    TwisterMc Mac Guru

    Messages:
    972
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Yea, I'm not to keen on forms in email either. I'd rather link to it on a website. ;) However I got it to work via GET in my two mail apps. Just not workingon the PC yet.
     
    TwisterMc, Jun 22, 2005 IP