PDA

View Full Version : how to recieve senders email nms formmail


Redstone
03-23-2005, 03:55 PM
I am using nms formmail version 3.14c1

The script works fine except when I test it the "from" section on the email does not represent who sent the form. Any ideas on how to fix this. Any help is greatly appreciated.

Redstone :confused:

mlseim
03-23-2005, 05:13 PM
This sounds familiar, like others have problems
with Matt's scripts also.

Is there a reason why you're using that script?

Maybe a simpler, more plain script is all you need.
I guess it depends on how much error checking you need.

Give us a link to your form and we can see what
kind of information you're collecting.

Redstone
03-23-2005, 06:40 PM
I am not famialiar with many cgi form scripts. This one is suppose to be more secure than Matts formmail ver 1.92. I only require a script that can print any form inputs to a thankyou screen,able to send the form contents to more than one email, and is relatively secure.

The script is locate at http://nms-cgi.sourceforge.net/scripts.shtml


Thanks for your help and any reccomendations are appreciated.
Redstone

mlseim
03-23-2005, 06:59 PM
You're using "UserEmail" as your variable name ...
that's not what the instructions say ...

=============================================
EXAMPLE 5: You want to be able to reply to the emails

Suppose you have the setup in example 4 working, and you
decide that you want to ask the visitors to the Favorite
Plant page for their email address in the form, and have
FormMail.pl use the address that they enter as the
'From' address for the email, so that you can hit 'reply'
in your mail software to mail the visitor and strike up a
conversation about their favorite plant.

FormMail will do this automatically so long as the input
where the visitor sets their email address is given the
name "email". If the input where the visitor gives their
name is called "realname" then FormMail will use this as
the comment part of the email address.

No change is needed to FormMail.pl for this example, we
just add an "email" field to the form and rename the
"name" input to "realname":

Redstone
03-23-2005, 07:24 PM
Your a borderline genius!
Sometimes you can't see the forrest because of the trees.

Thanks for your help!
Redstone