Solved

CGI for Email

Posted on 2004-08-03
9
152 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
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 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

DevOps Toolchain Recommendations

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

Question has a verified solution.

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

Suggested Solutions

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…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…

920 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

15 Experts available now in Live!

Get 1:1 Help Now