Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 26, 2008, 05:39:21 AM


Login with username, password and session length


Pages: 1 [2] 3 4   Go Down
  Print  
Author Topic: Setting up NMS FormMail  (Read 29172 times)
mfaisalm
Newbie
*
Offline Offline

Posts: 5


« Reply #15 on: October 24, 2005, 12:37:38 PM »

"Step 3) Upload the file to your cgi-bin in ASCII (text mode) and chmod (set permissions) to 755"

Can you please tell me how to setup Chmod permission to 775?
Logged
mfaisalm
Newbie
*
Offline Offline

Posts: 5


« Reply #16 on: October 24, 2005, 12:48:45 PM »

This is the error msg I receive when I try to run mymail.pl (NMS formmail) file.

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@travellingtutors.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.33 Server at www.travellingtutors.com Port 80
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 14072


WWW
« Reply #17 on: October 24, 2005, 01:06:32 PM »

Please DO NOT post to this thread. I have seen your other thread, and have responded there. The Chmod permissions should be 755 NOT 775. Instructions on setting the permissions are on the previous page of this thread, 2nd post from the bottom.
Logged
Digital_Boy
Trekkie
**
Offline Offline

Posts: 16


"No one will notice that..."


« Reply #18 on: March 23, 2006, 01:53:24 AM »

Thanks for the "how-to".  It was very helpful.

I hope it's ok to post a suggestion here.  It may seem obvious but given I haven't done this stuff in a LONG time, it would have been helpful to me.  Some people will use this with NO form/perl experience at all.

In step #4 you should change the value="user@yourdomain.com" to value=""

Given the pattern you established previously, that code block should either be exactly right, or you should specifically state what to change it to, or it should fall under the rule you set at the beginning with respect to inserting email and domain names.

Thanks again for the help.  Sure hope it's ok to add this.  I could understand your frustration with people asking for help in this thread when you've said don't several times.

DB
Logged

Digital_Boy
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 14072


WWW
« Reply #19 on: March 23, 2006, 10:29:42 AM »

A suggestion is fine to post here  Thumbs Up (it's only when asking for help that it's better to have people start a new thread)

Quote from: Digital_Boy
In step #4 you should change the value="user@yourdomain.com" to value=""

Thank you for your suggestion, it is a good one and I have made the change  Thumbs Up
Logged
bright
Pong! (the videogame) Master
*****
Offline Offline

Posts: 20


WWW
« Reply #20 on: May 21, 2006, 09:46:43 PM »

Thanks for this! Applause I know zero Perl and just as much PHP so this is quite handy. And I feel good knowing that it's safe to use. Not to mention it'll be handy not being added to any spam lists via email link harvesters. Here's where and how I used it:

http://plugintolinux.ca/contactus.shtml

And the thank you page is here:

http://plugintolinux.ca/thankyou.shtml

The only thing that confused me is that I kept getting email from nobody @ prospero.lunarpages.com and that's when I realized that the email line in step four didn't replace the line in step 3. I thought it did, except that hidden had to be changed to textbox (thought that was a mistake). Usually I can follow directions well, but sometimes I overthink things! Smile
« Last Edit: May 21, 2006, 09:50:21 PM by bright » Logged

Jason
pzh20
Newbie
*
Offline Offline

Posts: 1


« Reply #21 on: July 25, 2006, 06:20:08 AM »

I have a problem that I want to send email to any email address, not that specified in the @recipients array. My application sends an email from one user to a customer of mine. The email address for the recipient is stored in my database.

How can I get formmail to send to any email address or how can I pass it the email address it is allowed to use.

Many thanks
Pete
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 14072


WWW
« Reply #22 on: July 26, 2006, 07:54:28 PM »

I don't believe that the NMS FormMail can retrieve email addresses from a database or text file to use for the recipient.

That would probably take tweaking of the inner workings of the code from someone who knows perl.
Logged
khoelscher
Newbie
*
Offline Offline

Posts: 2


« Reply #23 on: September 16, 2006, 08:59:57 AM »

OK, I got this setup, and after a couple of trys, it worked!

Now, I have a couple of questions. I would really like to either email the form iputs to the user in the confirm page, or, as an alternative, display the fields on the 'thank-you' page. Is this possible?
Logged
descarga
Trekkie
**
Offline Offline

Posts: 12


WWW
« Reply #24 on: November 20, 2006, 10:10:03 AM »

Thanks for this -- very clear, worked right away -- so much better than my attempt to set up tfmail! Clapping
Logged
Baseltje
Newbie
*
Offline Offline

Posts: 4


« Reply #25 on: January 15, 2007, 10:35:27 AM »

There was one misunderstanding in my reading of the permission part.
The permission 755 is not only for the pl file but also for the cgi-bin file!
That was the reason I got the server error!
Thank you for the clear way to get this script working.
John Baselmans Soooo Cool
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 14072


WWW
« Reply #26 on: January 15, 2007, 03:24:43 PM »

There was one misunderstanding in my reading of the permission part. The permission 755 is not only for the pl file but also for the cgi-bin file!

Ahh, I normally don't indicate that in the tutorial, because the cgi-bin has the permissions already set by default. The only way it would not be set correctly is if you created your own cgi-bin or if it was changed/reset incorrectly  Smile

In any case, the permissions on the cgi-bin is good to double-check, just in case  Thumbs Up   
Logged
sodani
Space Explorer
***
Offline Offline

Posts: 6


« Reply #27 on: February 01, 2007, 10:44:07 AM »

Does anyone know how to incorporate a captcha into a web form while using nms formmail? I'm getting spammed through nms formmail. The only solutions I've found submit form data using php.
Logged
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 14072


WWW
« Reply #28 on: February 01, 2007, 11:48:09 AM »

What you could do is to use a graphic image with a simulated captcha code and make the input a required field.

Even though the captcha code will always remain the same, that will at least hinder the bots from attacking you, because something still has to be typed in manually (unless they have configured a way to enter data for ANY required field Confused, I'm not a Spammer, so I don't know how they setup those bot thingys Smile).

If your Spammers, however, are manually filling out your form to spam you (not via bots), then this won't work, I'm afraid.

If you do give this a try, please post back here if that works for you, because in the past we always just told people to switch to a php method, so if it works, then it's at least an alternative with those who want to keep using the NMS FormMail script.
« Last Edit: February 01, 2007, 11:56:20 AM by leighsww » Logged
sodani
Space Explorer
***
Offline Offline

Posts: 6


« Reply #29 on: February 01, 2007, 12:05:42 PM »

Will I lose any benefits if I go to the php method? I originally had a php script sending the form, but lunarpages told me that I had to switch to nms formmail or else they would take my script down.
Logged
Pages: 1 [2] 3 4   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM