Re: [biggun] Help with finding a replacement for formmailer
[In reply to]

Can't Post

My form mailer uses Net::SMTP in windows. That module does not some compiler stuff, you you can put the file Net/SMTP.pm in your cgi-bin directory. (or put it in an other directory pointed to by a use lib statement).

Re: [biggun] Help with finding a replacement for formmailer
[In reply to]

Can't Post

Oh boy! I'll fix that when as soon as possible (i am at school now). Thanks for letting me know. (althrough you can copy-paste the online listing.) At the page, there is a "view online listing" link you can click on.

However, if you haven't: - although your www-root already has already been setup as "application directory", you want configure the cgi-bin aswell. - open the properties of the cgi-bin directory in the IIS snapin. Press "Create.." to create an application directory. - hit "Configuration". - Now add an new application mapping that maps .cgi to your perl interpreter. o Executable is C:\perl\bin\perl.exe -w "%s" %s or C:\perl\bin\perlis.dll o Extension is .cgi (make a second one for .pl later) o Verbs are GET,HEAD,POST o If you select script engine, the application will be considered a script. Non-scripts have limited access/executable rights. For example, a directory can allow scripts to run, and deny running executables. o Check that file exists is very usefull, logically.

Re: [biggun] Help with finding a replacement for formmailer
[In reply to]

Can't Post

im trying to get this into your script to collect this information from my site and email to me and the person if possible? if you goto http://cybertechno.no-ip.com/placeorder_bank.html all that information is the thing need to collect, but im almost sure that it stored in the html of the page and some how get binded to the email, using the script below?

Re: [biggun] Help with finding a replacement for formmailer
[In reply to]

Can't Post

Off course you can.

- The message is set up in the SendMailForm() routine. You can adjust that code to make it send the message as you want it to be. - Add your "all fields are filled in" check aswell. (insert that code before the if (!SendMailForm()) line) - The SendMail() routine uses an pipe to sendmail. You can properly change that code if you want it to open qmail-inject. (note the extra parameters it receives). - My script uses the CGI.pm module, since that handles all reading of the input, and takes care of some rare exceptions aswell. In stead of using the $FORM{'VARNAME'} syntax, use the param('VARNAME') function from the CGI module. However, you can't use a function call in a string directly. That's the only problem. However, the param() function has some nice features your %FORM hash can't handle. - The content-type header is printed using print header('text/html'); Even there some webserver exceptions (like different newlines) are handled. - If Net/SMTP.pm is found in your @INC path aswell, it will be used to send the e-mail. Mostly it's faster, and you might consider that option.