Solved

CGI for Email

Posted on 2004-08-03
9
157 Views
Last Modified: 2013-12-25
I am looking for a script that will do this

I can make a form, like

Name:

Adress:

Phone Number:

and so on...

the user fills it out, and it gets sent to an email address...

If anyone can stear me to twords a script like this it would be much apreciated..


0
Comment
Question by:emilbus20
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 2
  • +1
9 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 11710991
Sounds like you want FormMail

http://nms-cgi.sourceforge.net/
0
 
LVL 9

Expert Comment

by:dutchfoxer
ID: 11711357
In addition to Tintin..... you apparently need a script / program that can read the contents of a form and send it by e-mail to a specified e-mail address. This is very common on websites.

In most cases the Hosting provider has scripts pre-installed for you to use on your website. You could check a manual / helpdesk or something.

There is a wide selection of Form-processors on the internet, mostly for free as well. If you have no experience with programming I would not go for a Perl solution, better use a PhP solution. You can find and download a Form-processor you like right here:

http://www.hotscripts.com/PHP/Scripts_and_Programs/Form_Processors/

A famous Perl Mail form can be found here:
http://www.scriptarchive.com/formmail.html



Good luck!
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11711981
Do NOT touch Matt's formmail script.  It is very badly written and has been responsible for many security holes over the years.
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 51

Expert Comment

by:ahoffmann
ID: 11729979
Tintin, Matt's script is not badly written, it's just insecure with the knowledge of today and all those script-kiddies around ;-)

sorry for being off-topic
0
 
LVL 48

Expert Comment

by:Tintin
ID: 11748768
ahoffmann.

Depends on your definition of what "badly" written is.

Unfortunately, a lot of Perl newbies download Matt's code and use it as a basis for learning.  The code constructs are very clunky and inefficient.  Even Matt says that he'd never code like that now.  
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 11748870
my definition seems to be similar to your's, but look at the date of the script, and my comment  ;-)
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 11790168
ahoffmann - it's not entirely offtopic, IMO - we're offering opinions on scripts to utilize to submit the results of a form to email. :)

I really have to agree with Tintin on this one - the MSA script is full of issues. While it may have not been considered a 'badly written script' at the time it was written,  the author himself has pointed out that there are bad programming practices within the script.  As Tintin alluded to, Matt says (in part):

"While the free code found at my web site has not evolved much in recent years, the general programming practices and standards of CGI programs have. nms is an attempt by very active programmers in the Perl community to bring the quality of code for these types of programs up to date and eliminate some of the bad programming practices and bugs found in the existing Matt's Script Archive code.

I would highly recommend downloading the nms versions if you wish to learn CGI programming. The code you find at Matt's Script Archive is not representative of how even I would code these days. My interests and activies have moved on, however, and I just have not found the time to update all of my scripts. One of the major reasons for this is that they work for many people. For this reason, I will continue to provide them to the public, but am also pleased to make you aware of well-coded alternatives."

(This is located here: http://www.scriptarchive.com/nms.html ).

0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 11790981
<off-topic>
please stop flaming me, I already agreed that you're all on the right track
and as security paranoid as I am, I'd never recommend such an old script
no offence to anyone (think most of you experts still know to read my comments:-)
</off-topic>
0
 
LVL 9

Expert Comment

by:dutchfoxer
ID: 11943931
off topic and getting points, hahhaha, lol
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This tutorial will give you a fast look what you can do with WhizBase. I expect you already know how to work with HTML at least, and that you understand the basics of the internet and how the internet works. WhizBase is a server-s…
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question