I have a web form set up where users can enter data, which then gets processed by a perl script. At the moment, the results are printed to screen (a new web page) when the user clicks the 'submit' button. I would like to be able to email the results to the user instead by asking for their email address on the form.
I had a look on a few tutorials which told me that I needed to find the 'sendmail' program, which may be found here: /usr/sbin/sendmail. Mine isn't, but I did find a 'sendmail' directory in usr/share/webmin/sendmail. The problem is that I don't know which file within this sendmail directory to refer my program to.
Any ideas? Or is there a better way to do it altogether? If it helps, I work in Mandrake Linux.