»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 06-04-2003, 10:08 AM   #1 (permalink)
Registered User
 
SaTaNcLaUz's Avatar
 
Join Date: Apr 2002
Location: (Rob) Indiana - USA
Posts: 402
SaTaNcLaUz is on a distinguished road
Send a message via ICQ to SaTaNcLaUz Send a message via AIM to SaTaNcLaUz Send a message via Yahoo to SaTaNcLaUz
Emailing form data from IIS server

Hello everyone

quick question, ive been stumped for a few days:

Trying to send email to selected recipients thru an HTML form, everything is working as far as the form goes, but how would i get it to send thru email?

i'm not to privy on any language except html so go easy

thanks in advance!

-Rob


btw if you need more info let me know!

SaTaNcLaUz is offline   Reply With Quote
Old 06-04-2003, 10:12 AM   #2 (permalink)
Registered User
 
e980238's Avatar
 
Join Date: Jan 2002
Posts: 1,777
e980238 is on a distinguished road
a cgi script called FormMail would do the trick
__________________
Got root?
e980238 is offline   Reply With Quote
Old 06-04-2003, 10:22 AM   #3 (permalink)
Registered User
 
SaTaNcLaUz's Avatar
 
Join Date: Apr 2002
Location: (Rob) Indiana - USA
Posts: 402
SaTaNcLaUz is on a distinguished road
Send a message via ICQ to SaTaNcLaUz Send a message via AIM to SaTaNcLaUz Send a message via Yahoo to SaTaNcLaUz
i tried but it doesnt seem to work, do you have one that you use currently that i could try?
SaTaNcLaUz is offline   Reply With Quote
Old 06-04-2003, 10:30 AM   #4 (permalink)
Registered User
 
e980238's Avatar
 
Join Date: Jan 2002
Posts: 1,777
e980238 is on a distinguished road
There are some variables that you may have to change it the script.
__________________
Got root?
e980238 is offline   Reply With Quote
Old 06-04-2003, 10:31 AM   #5 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
ONE of these has to work
IIS Email scripts
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 06-04-2003, 10:33 AM   #6 (permalink)
Registered User
 
SaTaNcLaUz's Avatar
 
Join Date: Apr 2002
Location: (Rob) Indiana - USA
Posts: 402
SaTaNcLaUz is on a distinguished road
Send a message via ICQ to SaTaNcLaUz Send a message via AIM to SaTaNcLaUz Send a message via Yahoo to SaTaNcLaUz
this is the one i'm currently using on another server but it wouldnt work on the iis (probably because its set for unix i think)

Code:
#!/usr/bin/perl
##############################################################################
# FormMail                        Version 1.9                                #
# Copyright 1995-2001 Matt Wright mattw@worldwidemart.com                    #
# Created 06/09/95                Last Modified 08/03/01                     #
# Matt's Script Archive, Inc.:    http://www.worldwidemart.com/scripts/      #
##############################################################################
# COPYRIGHT NOTICE                                                           #
# Copyright 1995-2001 Matthew M. Wright  All Rights Reserved.                #
#                                                                            #
# FormMail may be used and modified free of charge by anyone so long as this #
# copyright notice and the comments above remain intact.  By using this      #
# code you agree to indemnify Matthew M. Wright from any liability that      #
# might arise from its use.                                                  #
#                                                                            #
# Selling the code for this program without prior written consent is         #
# expressly forbidden.  In other words, please ask first before you try and  #
# make money off of my program.                                              #
#                                                                            #
# Obtain permission before redistributing this software over the Internet or #
# in any other medium.	In all cases copyright and header must remain intact #
##############################################################################
# ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #
#                     http://www.securityfocus.com/archive/1/62033           #
##############################################################################
# Define Variables                                                           #
#	 Detailed Information Found In README File.                          #

# $mailprog defines the location of your sendmail program on your unix       #
# system.                                                                    #

$mailprog = '/usr/lib/sendmail';

# @referers allows forms to be located only on servers which are defined     #
# in this field.  This security fix from the last version which allowed      #
# anyone on any server to use your FormMail script on their web site.        #

@referers = ('www.iupui.edu','134.68.122.6','incfs.iupui.edu');

# ACCESS CONTROL FIX: Peter D. Thompson Yezek                                #
# @valid_ENV allows the sysadmin to define what environment variables can    #
# be reported via the env_report directive.  This was implemented to fix     #
# the problem reported at http://www.securityfocus.com/bid/1187              #

@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');

# Done                                                                       #
##############################################################################
what should the mailprog thing be?

pls excuse the n00b'ness
SaTaNcLaUz is offline   Reply With Quote
Old 06-04-2003, 10:37 AM   #7 (permalink)
Registered User
 
SaTaNcLaUz's Avatar
 
Join Date: Apr 2002
Location: (Rob) Indiana - USA
Posts: 402
SaTaNcLaUz is on a distinguished road
Send a message via ICQ to SaTaNcLaUz Send a message via AIM to SaTaNcLaUz Send a message via Yahoo to SaTaNcLaUz
thx Vass ill check those out
SaTaNcLaUz is offline   Reply With Quote
Old 06-04-2003, 10:42 AM   #8 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
uhhh ya that script won't work
It doesn't even look complete
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 06-04-2003, 10:46 AM   #9 (permalink)
Registered User
 
SaTaNcLaUz's Avatar
 
Join Date: Apr 2002
Location: (Rob) Indiana - USA
Posts: 402
SaTaNcLaUz is on a distinguished road
Send a message via ICQ to SaTaNcLaUz Send a message via AIM to SaTaNcLaUz Send a message via Yahoo to SaTaNcLaUz
lol its not complete, thtas jus the top part with all the things i have to config, ill link the whole thing

http://www.satanclauz.com/~relawson/generic.pl

thats the full one
SaTaNcLaUz is offline   Reply With Quote
Old 06-04-2003, 10:48 AM   #10 (permalink)
Registered User
 
e980238's Avatar
 
Join Date: Jan 2002
Posts: 1,777
e980238 is on a distinguished road
Hmmm....

You could always install PHP? I have lots of mail scripts I wrote for that but I dont know if PHP works under IIS or not. You could go crazy and install Apache for win32
__________________
Got root?
e980238 is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:00 AM.