By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,541 Members | 1,427 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,541 IT Pros & Developers. It's quick & easy.

formmail.cgi and entering an email address?

P: n/a
Hello,

I am using the formmail.cgi script and wonder if it is possible to
have the user enter their email address and then have the results sent
to this address by formmail.cgi?

If yes, how do I do this?! That is, how do I get the user to enter
their email address and how is it transferred to formmail.cgi?

Cheers,

Geoff
Nov 4 '08 #1
Share this Question
Share on Google+
3 Replies


P: n/a
In article <6b********************************@4ax.com>, Geoff Cox
<gc**@freeuk.notcomwrote:
Hello,

I am using the formmail.cgi script and wonder if it is possible to
have the user enter their email address and then have the results sent
to this address by formmail.cgi?

If yes, how do I do this?! That is, how do I get the user to enter
their email address and how is it transferred to formmail.cgi?
Which formmail.cgi script? There is reputably a good one here (two
versions, actually):

<http://nms-cgi.sourceforge.net/scripts.shtml>

Matt Wright's original formmail.cgi
(<http://www.scriptarchive.com/faq/formmail.html#q2>) is said to have
security problems, and its use is discouraged.

So make sure you are starting with a good scriptl

If you wish to add a field, add the HTML to the page form so the user
can type in his/her email address and add the code to the script to
fetch the address and add it to the recipient list.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future
for better response.

--
Jim Gibson

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
http://www.usenet.com
Nov 4 '08 #2

P: n/a
On Tue, 04 Nov 2008 15:54:24 -0800, Jim Gibson <ji********@gmail.com>
wrote:
>In article <6b********************************@4ax.com>, Geoff Cox
<gc**@freeuk.notcomwrote:
>Hello,

I am using the formmail.cgi script and wonder if it is possible to
have the user enter their email address and then have the results sent
to this address by formmail.cgi?

If yes, how do I do this?! That is, how do I get the user to enter
their email address and how is it transferred to formmail.cgi?

Which formmail.cgi script? There is reputably a good one here (two
versions, actually):

<http://nms-cgi.sourceforge.net/scripts.shtml>

Matt Wright's original formmail.cgi
(<http://www.scriptarchive.com/faq/formmail.html#q2>) is said to have
security problems, and its use is discouraged.

So make sure you are starting with a good scriptl

If you wish to add a field, add the HTML to the page form so the user
can type in his/her email address and add the code to the script to
fetch the address and add it to the recipient list.

FYI: this newsgroup is defunct. Try comp.lang.perl.misc in the future
for better response.
thanks for all the info.

Cheers

Geoff
Nov 5 '08 #3

P: n/a
Geoff Cox wrote:
I am using the formmail.cgi script and wonder if it is possible to
have the user enter their email address and then have the results sent
to this address by formmail.cgi?
You're just asking for spammers to use your server to send spam to
email addresses of their choosing. Many instances of formmail.cgi
had to be shut down because things like that. Don't do it.

-Joe
Nov 5 '08 #4

This discussion thread is closed

Replies have been disabled for this discussion.