Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

html email form

Options
  • 13-05-2004 4:06pm
    #1
    Registered Users Posts: 2,183 ✭✭✭


    hi,

    I'm looking for some html form help.....basically i want to have a form on a webpage and when someone hits submit, the results get sent to me by email....
    Does anyone know a simple way of doing this?...or could you direct me somewhere....i've seen a php example...but is there another way?

    cheers


Comments

  • Registered Users Posts: 4,889 ✭✭✭Third_Echelon


    there is a script called formmail that is readily available on the net which is very good.. just do a google for formmail.cgi or formmail.pl

    ive used it loads of times... does the job fine...


  • Closed Accounts Posts: 2,161 ✭✭✭steve-hosting36


    Your host should have a standard way of doing this, drop them an email about it :)


  • Registered Users Posts: 68,317 ✭✭✭✭seamus


    For something very simple, you can use

    <form action="mailto:myemail@email.com" method="post">

    Which will actually just email the data directly from the form. Of course, this will normally require the user to have mail correctly set up on their machine and to consent to it. It also doesn't allow you to hide your email address.

    Other than that, there are plenty of script available on the web that'll do it for you.


  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    If you use FormMail be sure that you pick an up-to-date version that has no security issues. In the past, some versions have had bugs that facilitated relaying spam.

    If you have access to PHP on the server then a simple script that reads in the POST'ed data and uses a multiline string to format the message before passing it to the mail() function would be quite easy to implement and would also provide a high degree of control over the mail sent.


  • Registered Users Posts: 1,268 ✭✭✭hostyle


    formmail is notoriously insecure. Try NMS instead


  • Advertisement
  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Originally posted by Third_Echelon
    there is a script called formmail that is readily available on the net which is very good.. just do a google for formmail.cgi or formmail.pl

    ive used it loads of times... does the job fine...
    NO. Repeat after me: "formmail.cgi is evil"
    Originally written back in '94 - '95 and published on Matt's archive it has been updated a few times but remains both one of the more popular mail scripts out there (with spammers) and one of the most insecure.
    Most sane hosts do not allow it.
    If you need a form mail there are plenty of perfectly good (and safe) PHP ones out there that DO NOT allow spammers to have a party on your server (or more pertinently that of your hosting provider)


  • Closed Accounts Posts: 7,563 ✭✭✭leeroybrown


    It's incredibly easy for some idiot to leave an ancient exploitable copy of FormMail lying around and it certainly isn't funny when you realise that your SMTP throughput has gone up by a multiple thousands over the course of a few hours and have to figure out WTF is going on.


  • Closed Accounts Posts: 5 maryob1


    If you are going to use formmail, make sure you get the new patched version, there was an issue with formmail that would allow a spammer can exploit your formmail script to flood thousands of Internet users with junk mail.


  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Originally posted by maryob1
    If you are going to use formmail, make sure you get the new patched version, there was an issue with formmail that would allow a spammer can exploit your formmail script to flood thousands of Internet users with junk mail.
    No. Just don't use it.
    It brings a whole new meaning to insecure.
    Another point as well is that most people don't even rename the damned thing, so spammers can just go looking for formmail.pl or formmail.cgi
    DO NOT USE IT


  • Closed Accounts Posts: 2,161 ✭✭✭steve-hosting36


    The patched version works fine blacknight.


  • Advertisement
  • Registered Users Posts: 7,739 ✭✭✭mneylon


    Originally posted by steve-hosting36
    The patched version works fine blacknight.
    It may do, but I do not trust it and neither do our sysadmins. It has caused far too many headaches in the past.


  • Registered Users Posts: 7,739 ✭✭✭mneylon




  • Registered Users Posts: 2,183 ✭✭✭jobless


    thanks blacknight...for the advice.....could you suggest something else (for a novice)


  • Registered Users Posts: 7,739 ✭✭✭mneylon




  • Closed Accounts Posts: 2,161 ✭✭✭steve-hosting36


    I think anyone deploying scripts from 1995 would be causing a security risk :)

    We for one, provide a version of formmail as a wizarded install with all our plans and its never caused an issue.


  • Closed Accounts Posts: 80 ✭✭.-=MR. JOE=-.


    I used to use a site that saved all the form scripts and all on their server (or whatever you pro's call it) and you just gave them your email address and they give you the lines of the HTML to include on the form.

    Worked really well for me anyway!

    I'll google for it later.


  • Registered Users Posts: 1,031 ✭✭✭buddy


    Originally posted by .-=MR. JOE=-.
    I used to use a site that saved all the form scripts and all on their server (or whatever you pro's call it) and you just gave them your email address and they give you the lines of the HTML to include on the form.

    Worked really well for me anyway!

    I'll google for it later.

    Bravenet.com??

    I normally used a script eircom.net gave.

    Where can we source an up to date patched copy of formmail??


  • Closed Accounts Posts: 80 ✭✭.-=MR. JOE=-.


    No it wasn't bravenet but dat's probably something similar.


  • Registered Users Posts: 101 ✭✭ro_G


    i know ezmlm and formmail have had their differences in the past but does anyone know if it possible to pass addresses via formmail 1.92 to ezmlm?

    or is there another handy script for securely passing subscribe/unsubscribe addresses to ezmlm?


  • Closed Accounts Posts: 2,161 ✭✭✭steve-hosting36




  • Advertisement
Advertisement