Solved

CGI for Email

Posted on 2004-08-03
9
151 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
  • 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
 
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
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to count occurrences of each item in an array.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now