Development Automail script - how do I use this?

Discussion in 'Software' started by Liquid K9, 31 May 2003.

  1. Liquid K9

    Liquid K9 Human programmer.. heh

    Joined:
    1 Sep 2002
    Posts:
    3,111
    Likes Received:
    2
    Code:
    <FORM ACTION="[cgi location removed to prevent abuse]"
    METHOD='post"'>
    <INPUT TYPE="HIDDEN" NAME="TO" VALUE="em@ail.address">
    <INPUT TYPE="HIDDEN" NAME="SUBJECT" VALUE="Place subject heading here">
    <INPUT TYPE="HIDDEN" NAME="RETURN" VALUE="URL of following page"> 
    
    I want to send an email using that when a user presses a button on a website. but I dont seem to be able to get it to work... maybe its something to do with forms?
     
  2. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    METHOD='post"' switch the final ' and " !


    edit: no, just delete the " ;)
     
  3. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    as relix said. Also i wouldn't make the email a hidden input, i'd put that in your perl code.
     
  4. Liquid K9

    Liquid K9 Human programmer.. heh

    Joined:
    1 Sep 2002
    Posts:
    3,111
    Likes Received:
    2
    seeing as I didnt make it, I cant.. its one of those 'free cgi scripts with ISP webspace' dealies
     
  5. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Oh, fair enough :)
     
  6. linear

    linear Minimodder

    Joined:
    5 Oct 2001
    Posts:
    4,393
    Likes Received:
    1
    Just keep in mind that script will be found by spammers and abused to send hundreds of thousands of messages through your account.

    Hidden form fields aren't very hidden.
     
  7. RTT

    RTT #parp

    Joined:
    12 Mar 2001
    Posts:
    14,120
    Likes Received:
    74
    Liquid, if you've got a PHP enabled host i'll code you something that keeps your email hidden :)
     
  8. relix

    relix Minimodder

    Joined:
    14 Nov 2001
    Posts:
    5,948
    Likes Received:
    41
    Well, the ISP choose to make it like this, so if someone abuses that script the ISP can't blame Liquid :D
     
  9. Liquid K9

    Liquid K9 Human programmer.. heh

    Joined:
    1 Sep 2002
    Posts:
    3,111
    Likes Received:
    2
    I believe that they are PHP enabled. if you could, that would be very helpful ;)
     
    Last edited: 13 Jun 2003
  10. Ben

    Ben What's a Dremel?

    Joined:
    11 Aug 2003
    Posts:
    1,000
    Likes Received:
    0
    How do you do that. Are there any guides.

    Ben
     
  11. Lovah

    Lovah Apple and Canon fanboy

    Joined:
    10 Jul 2002
    Posts:
    3,846
    Likes Received:
    25
    Code:
    <FORM ACTION="[cgi location removed to prevent abuse]"
    METHOD="post">
    
    I think thats the fault..

    always use " before and after. no ' , or something else..

    good luck!
    L

    can't u do that with a normal form aswell?
     

Share This Page