On Tue, 2005-01-11 at 08:35, Larry B wrote:
> I have looked at your Form mail script. So far I am impressed with it.
> However there is a small problem I am having. On the site I am
> creating we have a 2 step process. the first step is to fill out an
> email form and have the info emailed to us while being redirected to
> the second step page. With your script I am trying to find a redirect
> setting that will override your built-in 'thank you' script. Is it
> possible to do?
You can supply the URL of a page to be redirected to instead of the
confirmation page in the 'redirect' field in the form.
If you however you have more complex requirements (such as including
some of the form content in a further form) you might instead consider
looking at our TFmail which allows you to create a template for the
success page which can contain the form fields in any way that you want.
You can download TFmail from:
http://nms-cgi.sf.net/scripts.shtml
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

Below is the result of your feedback form. It was submitted by
Larry B (larry@...) on Tuesday, January 11, 2005 at 16:34:17
---------------------------------------------------------------------------
description: Hi:
I have looked at your Form mail script. So far I am impressed with it. However there is a small problem I am having. On the site I am creating we have a 2 step process. the first step is to fill out an email form and have the info emailed to us while being redirected to the second step page. With your script I am trying to find a redirect setting that will override your built-in 'thank you' script. Is it possible to do?
Thanks again
-Larry B
---------------------------------------------------------------------------

Thank you Jonathan. I finally figured it out. I saved the file with a capital letter on it (Formmail.pl) - it need to be all lower case.
Thank you VERY much for your help, though.
Dave
Jonathan Stowe <jns@...> wrote:
On Mon, 2005-01-10 at 23:08, David Carter wrote:
> Hi,
> I am at a total loss. I have followed all the instructions both with
> the formmailpl, my template, and my hosting company. I can't seem to
> get my form working no my website. Here is some information that
> maybe can help you help me.
> My hosting company info: Path to Sendmail: /usr/sbin/sendmail
> My website contact page: http://www.carter-capital.com/contact.htm
>
In what way is it not working? The form posts okay with no errors, the
only problem I can see that might possible arise is that you might want
to call the field 'your_name' 'realname' instead.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.

On Tue, 2005-01-11 at 12:16, Stephen Fraser wrote:
> I also emailed LYPHA and let them know how to respond to any other customers
> that run into that issue..
> (they only swapped to your script from "Matts" original one a week or so ago
> ..)
If they could drop us a line we will stick them on our list of ISPs who
use the NMS programs.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

You were dead right :-)
Its fine now..
Changing the "E" to "e" has not only fixed that issue, but now I also now
get the full confimation email...
Thanks heaps and heaps guys..
I also emailed LYPHA and let them know how to respond to any other customers
that run into that issue..
(they only swapped to your script from "Matts" original one a week or so ago
..)
thanks again
Steve
----------------------------------------------------------------------------
---
Steve
HBH Admin
http://www.home-business-help.com
03 59820754
A proud Dominant Australia member : no.310156
http://www.firetheboss.com.au/Australian-Opportunity/
----- Original Message -----
From: "Jonathan Stowe" <jns@...>
To: "Stephen Fraser" <stephenf@...>
Cc: "NMS-CGI-Support" <nms-cgi-support@...>
Sent: Tuesday, January 11, 2005 10:41 PM
Subject: Re: [Nms-cgi-support] FormMail
> On Tue, 2005-01-11 at 10:57, Stephen Fraser wrote:
>
> The problem you are having with the confirmation email not being sent is
> due to the fact that you have a field called 'Email' whereas FormMail
> requires it to be called 'email' as it is case-sensitive.
>
> I was not able to replicate the intermittent 404 you report - I think
> this is something you should take up with your ISP as it is not
> something that could be caused directly by the configuration of FormMail
> (apart from an incorrect redirect which you don't have.)
>
> /J\
> --
>
> This e-mail is sponsored by http://www.integration-house.com/
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.825 / Virus Database: 563 - Release Date: 12/30/2004

On Tue, 2005-01-11 at 10:57, Stephen Fraser wrote:
The problem you are having with the confirmation email not being sent is
due to the fact that you have a field called 'Email' whereas FormMail
requires it to be called 'email' as it is case-sensitive.
I was not able to replicate the intermittent 404 you report - I think
this is something you should take up with your ISP as it is not
something that could be caused directly by the configuration of FormMail
(apart from an incorrect redirect which you don't have.)
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

On Mon, 2005-01-10 at 23:58, Peter Burton wrote:
> Dear Guru Jonathan
Er, I don't think so - I've just spent too long with the code of this
stuff ....
>
> I wonder if you might help me. I have a friend coming around on
> Friday who has asked if I would take her thru setting up her first
> form.
>
> I use the nms form on a number of websites I use and you were kind
> enough to point out some errors that my host were having with their
> implementation of FromMail.
>
> Here is my question:
>
> In setting up FormMail I want the form to be sent to multiple
> recipients. The way I generally do this is I set up a virtual mail
> account on my mail server that redirects mail from say
> mms@... to numerous other people. Works well when
> you are in control of the mailserver.
>
> @allow_mail_to = qw(mms@... localhost);
>
> I was mocking up an example for a friend where I wasn t in control of
> the mail server and had initially thought based on the first page of
> the examples document that I could add in multiple addresses into the
> @allow_mail_to line of code
>
> @allow_mail_to = qw(mms@... peter@...
> info@... localhost);
>
> Here is the example taken from the first page of the FromMail example
> doc:
> @allow_mail_to = qw(you@... some.one.else@...
> localhost);
>
> After much playing around I found that the form only seems to be sent
> the FIRST mail address listed in the @allow_mail_to line, and that to
> send to multiple e-mails I needed to implement the trick in Example 3
>
> %recipient_alias = (
> 'shared boating' =>
> 'purves@...,james@...,info@...',
> );
Yep this is the best way to be doing it.
>
> The form using that trick is working well, however I just wanted to
> confirm whether the multiple addresses in the @allow_mail_to =
> qw(mms@... peter@... info@...
> localhost); should have worked?
No it will only use the first address, however if you were to put
multiple addresses (separated by commas) in the recipient field of the
form then you would have to have them all in the @allow_mail_to
configuration. The %recipient_alias method is preferable however.
>
> There is a vague answer listed under recipient in the FormMail Readme
> If you leave the 'recipient' field out of the
> form, formmail will send to the FIRST address
> listed in the @allow_mail_to configuration
> variable (see above).
Yep this is the case.
>
> I'm not a programmer but having read and reread the ReadMe and
> Examples I'm begining to think the @allow is actually one of the
> addtional security measures as I see listed in the Examples doc that
> when you implement example 3 the listed e-mails are auto added to the
> @allow....
The fact that the recipients from %recipient_alias are added to
@allow_mail_to is really just a code optimization - it means that we
don't need to handle the checking of the e-mails differently depending
on the source. The addresses in @allow_mail_to are checked in a more
rigorous way than @recipients, which means that it is not possible to
create an address in the 'recipient' field which will pass the check
against @recipients but which also contains one or more unwanted
addresses. The use of @recipients is deprecated.
>
> PS - given you guys are based in London - how about adding en_GB to
> the list of locales?
>
Er, probably because it's already set like that on my laptop ;-)
[jonathan@... guestbook]$ echo $LANG
en_GB.UTF-8
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

Thankyou for your quick responce :-)
url : of of the form on this site under construction is
http://www.home-business-hostings.com/contactus.html
----------------------------------------------------------------------------
---------------------
Config below:
--------------
BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '/usr/sbin/sendmail -oi -t';
$postmaster = 'admin@...';
@referers = qw(home-business-hostings.com 63.247.72.42
localhost);
@allow_mail_to = qw(admin@... 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 = 1;
$wrap_style = 1;
$address_style = 1;
$send_confirmation_mail = 1;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: admin@...
Subject: Hosting Enquiries@...
Hi,
Thanks for visiting http://www.Home-Business-Hostings.com. I am letting you
know that we have recieved your enqiry and we will be in touch with you very
soon.
Bye the way, our http://www.home-business-help.com is an excellent support
site for your business and http://www.news.home-business-hostings.com/news/
is also full of interesting up to date information to help you to run your
business online. Visit today.
Kind Regards
Steve
Admin
http://www.Home-Business-Hostings.comhttp://www.home-business-help.comhttp://www.news.home-business-hostings.com/news/
END_OF_CONFIRMATION
# You may need to uncomment the line below and adjust the path.
# use lib './lib';
# USER CUSTOMISATION SECTION
# --------------------------
# Place any custom code here
# USER CUSTOMISATION << END >>
# ----------------------------
# (no user serviceable parts beyond here)
=================================================================
Thanks again guys
Steve
===================================================================
Steve
HBH Admin
http://www.home-business-help.com
03 59820754
A proud Dominant Australia member : no.310156
http://www.firetheboss.com.au/Australian-Opportunity/
----- Original Message -----
From: "Jonathan Stowe" <jns@...>
To: "Steve" <stephenf@...>
Cc: "NMS-CGI-Support" <nms-cgi-support@...>
Sent: Tuesday, January 11, 2005 9:14 PM
Subject: Re: [Nms-cgi-support] FormMail
> On Tue, 2005-01-11 at 00:31, Steve wrote:
>
> > I have had no end of trouble with the LYPHA Servers that I am using.
> > My first prob is :
> > (QUOTE FROM LYPHA HOSTING)
> > ---------------------------------------------------
> > "We are extremely sorry to inform you the fact that the issue of
formmail.pl sending mails at nobody@... is a serverwide issue.
> > We are not able to change its settings for a single user."
> > ------------------------------------------------------
>
> You can fix this by setting the $postmaster configuration to some e-mail
> address ( depending on the configuaration of the mail server it may
> reject certain addresses so you might have to use an address at a
> locally host domain.)
>
> >
> > My second and more serious issue is that Lypha has no answer for.
> >
> > Is that every second time i try my form it goes to page not found?
(error)
> > It also will not send confirmation emails to senders. Every time I test
it with the "config set to send a confirm mail" it goes to page not found
and wont send at all?
>
> Is there any chance that your web site is actually load balanced across
> two (or more servers)? I can't see any other way that you could get an
> intermittent 404. If you have a redirect rather than the standard
> confirmation page and this is on a remote server then this might also be
> a possible explanation.
>
> >
> > Sorry to be so much of a pain , but are these issues common?
>
> I don't think we have ever seen this problem at all. It will probably
> help if you were to give us a link to your form and send us the
> configuaration section of your FormMail - then we can see what is going
> on.
>
> /J\
> --
>
> This e-mail is sponsored by http://www.integration-house.com/
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.825 / Virus Database: 563 - Release Date: 12/30/2004

On Tue, 2005-01-11 at 00:31, Steve wrote:
> I have had no end of trouble with the LYPHA Servers that I am using.
> My first prob is :
> (QUOTE FROM LYPHA HOSTING)
> ---------------------------------------------------
> "We are extremely sorry to inform you the fact that the issue of formmail.pl sending mails at nobody@... is a serverwide issue.
> We are not able to change its settings for a single user."
> ------------------------------------------------------
You can fix this by setting the $postmaster configuration to some e-mail
address ( depending on the configuaration of the mail server it may
reject certain addresses so you might have to use an address at a
locally host domain.)
>
> My second and more serious issue is that Lypha has no answer for.
>
> Is that every second time i try my form it goes to page not found? (error)
> It also will not send confirmation emails to senders. Every time I test it with the "config set to send a confirm mail" it goes to page not found and wont send at all?
Is there any chance that your web site is actually load balanced across
two (or more servers)? I can't see any other way that you could get an
intermittent 404. If you have a redirect rather than the standard
confirmation page and this is on a remote server then this might also be
a possible explanation.
>
> Sorry to be so much of a pain , but are these issues common?
I don't think we have ever seen this problem at all. It will probably
help if you were to give us a link to your form and send us the
configuaration section of your FormMail - then we can see what is going
on.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

On Mon, 2005-01-10 at 23:08, David Carter wrote:
> Hi,
> I am at a total loss. I have followed all the instructions both with
> the formmailpl, my template, and my hosting company. I can't seem to
> get my form working no my website. Here is some information that
> maybe can help you help me.
> My hosting company info: Path to Sendmail: /usr/sbin/sendmail
> My website contact page: http://www.carter-capital.com/contact.htm
>
In what way is it not working? The form posts okay with no errors, the
only problem I can see that might possible arise is that you might want
to call the field 'your_name' 'realname' instead.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

On Mon, 2005-01-10 at 18:29, Adrian Rutter wrote:
> hi, im getting this error and im not sure what it means!
>
>
> Application Error
>
> An error has occurred in the program
>
> close sendmail pipe failed, mailprog=[/usr/lib/sendmail -oi -t] at (eval
> 8) line 108
>
It is possible that either you have the incorrect setting for $mailprog
or that either some misconfiguration in the mail system or
incompatibility with the real 'sendmail' is causing you the problem. If
the latter then you should be able to determine the cause of the problem
from the mail system's log. If the former then your ISP should be able
to help. It would probably help us to diagnose the problem if you could
also send us the configuration section of the FormMail.
A common cause of problem is an incompatible 'sendmail' that doesn't
like our $postmaster configuration - if you have that set you might want
to try it with it set to '' and see what happens.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

On Mon, 2005-01-10 at 16:30, Sandra Norris wrote:
> I use nms guestbook through my host, hostway. I constantly get spam in
> the guesbook. Is there a way to prevent this without having to have
> each person get a uersname and password?
The problem is that the *spam* appears to be just a normal posting in
the guestbook and it is difficult to distinguish it from legitimate
stuff.
There are two possibilities to reduce visible spam in your guestbook:
firstly, the most recent version of the guestbook has a facility whereby
new postings can by default be hidden (are commented out) and can either
be un-hidden or deleted using an administration tool that comes with
it. Secondly you might try the NMS TFmail as your guestbook - it comes
with a sample configuration to be used as such and a small program to
view the entries: TFmail has a number of features that are designed to
defeat the automated posting of data.
The latest versions of both programs are available from:
http://nms-cgi.sf.net/scripts.shtml
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

On Mon, 2005-01-10 at 12:15, Alan B. Hall wrote:
> How do I edit entries in my guestbook?
>
The entries are in the guestbook.html - this is a normal html file, you
can download the file, edit it in whatever way you see fit and then
upload it again.
/J\
--
This e-mail is sponsored by http://www.integration-house.com/

Below is the result of your feedback form. It was submitted by
Steve (stephenf@...) on Tuesday, January 11, 2005 at 08:30:16
---------------------------------------------------------------------------
description: Hi guys..
I have had no end of trouble with the LYPHA Servers that I am using.
My first prob is :
(QUOTE FROM LYPHA HOSTING)
---------------------------------------------------
"We are extremely sorry to inform you the fact that the issue of formmail.pl sending mails at nobody@... is a serverwide issue.
We are not able to change its settings for a single user."
------------------------------------------------------
My second and more serious issue is that Lypha has no answer for.
Is that every second time i try my form it goes to page not found? (error)
It also will not send confirmation emails to senders. Every time I test it with the "config set to send a confirm mail" it goes to page not found and wont send at all?
Sorry to be so much of a pain , but are these issues common?
Thanks for your time :-)
Steve
HBH
Admin
http://www.home-business-hostings.com
---------------------------------------------------------------------------

Below is the result of your feedback form. It was submitted by
Peter Burton (peter@...) on Tuesday, January 11, 2005 at 07:57:49
---------------------------------------------------------------------------
description: Dear Guru Jonathan
I wonder if you might help me. I have a friend coming around on Friday who has asked if I would take her thru setting up her first form.
I use the nms form on a number of websites I use and you were kind enough to point out some errors that my host were having with their implementation of FromMail.
Here is my question:
In setting up FormMail I want the form to be sent to multiple recipients. The way I generally do this is I set up a virtual mail account on my mail server that redirects mail from say mms@... to numerous other people. Works well when you are in control of the mailserver.
@allow_mail_to = qw(mms@... localhost);
I was mocking up an example for a friend where I wasnâ t in control of the mail server and had initially thought based on the first page of the examples document that I could add in multiple addresses into the @allow_mail_to line of code
@allow_mail_to = qw(mms@... peter@... info@... localhost);
Here is the example taken from the first page of the FromMail example doc:
@allow_mail_to = qw(you@... some.one.else@... localhost);
After much playing around I found that the form only seems to be sent the FIRST mail address listed in the @allow_mail_to line, and that to send to multiple e-mails I needed to implement the trick in Example 3 â ¦
%recipient_alias = (
'shared boating' => 'purves@...,james@...,info@...',
);
The form using that trick is working well, however I just wanted to confirm whether the multiple addresses in the @allow_mail_to = qw(mms@... peter@... info@... localhost); should have worked?
There is a vague answer listed under recipient in the FormMail Readme â ¦
If you leave the 'recipient' field out of the
form, formmail will send to the FIRST address
listed in the @allow_mail_to configuration
variable (see above).
I'm not a programmer but having read and reread the ReadMe and Examples I'm begining to think the @allow is actually one of the addtional security measures as I see listed in the Examples doc that when you implement example 3 the listed e-mails are auto added to the @allow....
Jonathan, many thanks for your support and for producing some great replacements to the Matts scripts. The new version of the guestbook is GREAT â especially being able to validate what is posted. For one of the sites I run â http://www.art-treasures-gallery.com we were having a REAL problem with an unscrupulous competitor that kept filling our guestbook up with sales messages that pointed to their site â ¦. The validation tool is a really cool idea â so much I went back and rewrapped the code around all the previous comments.
THANKS.
PS - given you guys are based in London - how about adding en_GB to the list of locales?
---------------------------------------------------------------------------

Below is the result of your feedback form. It was submitted by
Sandra Norris (sdnorris@...) on Tuesday, January 11, 2005 at 00:29:40
---------------------------------------------------------------------------
description: I use nms guestbook through my host, hostway. I constantly get spam in the guesbook. Is there a way to prevent this without having to have each person get a uersname and password?
Sandra
---------------------------------------------------------------------------