Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 06:05:51 PM

Pages: 1 [2]   Go Down
  Print  
Author Topic: Re: Setting up NMS FormMail  (Read 13144 times)
leighsww
* The Tough Love Cuddly One *
Berserker Poster
*****
Offline Offline

Posts: 13870


WWW
« Reply #15 on: July 27, 2007, 08:03:24 PM »

Got a questin on the "THE FormMail.pl SCRIPT:" and post by "leighsww" the afore mentioned tough love cuddly one.

Can you tell me if I hae this code correct, I'm trying to email form responces to BOTH of these addresses.

@allow_mail_to = qw(webmaster@nfp-rocks.com contact@nfp-rocks.com localhost);

Hope you can help.
-jay

That won't work for sending to multiple email addys. Follow this post instead:

http://www.lunarforums.com/index.php?topic=28338.msg221777#msg221777
Logged
garymeek
Newbie
*
Offline Offline

Posts: 5


WWW
« Reply #16 on: April 29, 2009, 12:32:45 PM »

I am at my wits end trying to set up NMS FormMail!  Can someone help?  I can post/link to my html page and NMS FormMail script:

Logged

Gary W. Meek
Adloveadmin
Newbie
*
Offline Offline

Posts: 3


« Reply #17 on: May 13, 2009, 01:24:03 PM »

Well...

I've followed the instructions at http://www.lunarforums.com/lunarpages_how_tos/setting_up_nms_formmail-t18221.0 and http://www.lunarforums.com/lunarpages_c_perl_cgi/formmailpl_bad_gateway-t33731.0.html;msg253395#msg253395 and just can't get the nms scripts formmail to work.  The "Shebang" line referenced in the posts doesn't exist in the .pl file.

Here is the pertinent info from the formail.pl file (renamed FM.pl).  Adlove.org is the site in question and it's on a Windows server.  Files were uploaded using ASCII transfer.
----------
#!C:/perl/bin/perl.exe
#
# NMS FormMail Version 3.14c1
#

...snip snip...

  $DEBUGGING         = 1;
  $emulate_matts_code= 0;
  $secure            = 1;
  $allow_empty_ref   = 1;
  $max_recipients    = 5;
  $mailprog          = 'SMTP:adlove.org';
  $postmaster        = '';
  @referers          = qw(adlove.org localhost);
  @allow_mail_to     = qw(webmaster@adlove.org localhost);
  @recipients        = ();
  %recipient_alias   = ();
  @valid_ENV         = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
  $locale            = '';
  $charset           = 'iso-8859-1';
  $date_fmt          = '%A, %B %d, %Y at %H:%M:%S';
  $style             = '/css/nms.css';
  $no_content        = 0;
  $double_spacing    = 1;
  $wrap_text         = 0;
  $wrap_style        = 1;
  $address_style     = 0;
  $send_confirmation_mail = 0;
  $confirmation_text = <<'END_OF_CONFIRMATION';
From: webmaster@adlove.org
Subject: form submission

Thank you for your form submission.

END_OF_CONFIRMATION
----------

The error generated when using a test form from the web site is...

----------
Content-Type: text/html; charset=iso-8859-1

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>Error</title>
 </head>
 <body>
  <h1>Application Error</h1>
  <p>
   An error has occurred in the program
  </p>
  <p>
   connect to &#91;adlove.org:25&#93;: Unknown error at &#40;eval 8&#41; line 70.

  </p>
 </body>
</html>
----------

Anyone have any ideas?  I'm at my wits end.

Thank you.
Logged
ljonston
Trekkie
**
Offline Offline

Posts: 11


« Reply #18 on: June 26, 2009, 12:34:38 PM »

I am at my wits end trying to set up NMS FormMail!  Can someone help?  I can post/link to my html page and NMS FormMail script:



should i even bother with this?  Seems like a lot of hassle to get this figured out.
Logged
Pages: 1 [2]   Go Up
  Print  
 
Jump to: