HighDots Forums  

FormMail problems

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss FormMail problems in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
kac3317
 
Posts: n/a

Default FormMail problems - 07-08-2004 , 05:06 PM






I got the FormMail script from Matt's Script Archeive, read the Read Me file
and everything, but still don't really know what to do! I don't know where my
sendmail thing is on the server and all the Perl language is confusing. I have
run out of resources. If any one out there can help me through this, PLEASE
HELP!!!!



Reply With Quote
  #2  
Old   
Alan
 
Posts: n/a

Default Re: FormMail problems - 07-08-2004 , 05:15 PM








Quote:
I got the FormMail script from Matt's Script Archeive, read the Read Me file
and everything, but still don't really know what to do! I don't know where my
sendmail thing is on the server and all the Perl language is confusing. I have
run out of resources. If any one out there can help me through this, PLEASE
HELP!!!!


first- have you checked with your hosting's FAQ/Support pages for these
items-

one- is the a form script already installed or in your hosting "control
panel" that you can use?

two- Are you sure you can use Perl scripts with this hosting?
two and a half- Is your hosting a *nix server?
(the wright FormMail script will not work on windows servers)

three- Can you use other scripting?
(if you can use php, php scripts are less 'fussy' to set up that Perl
scripts, in general)





Reply With Quote
  #3  
Old   
John Gaver
 
Posts: n/a

Default Re: FormMail problems - 07-08-2004 , 06:07 PM



On 7/8/04 4:06 PM, in article cckd03$cl5$1 (AT) forums (DOT) macromedia.com, "kac3317"
<webforumsuser (AT) macromedia (DOT) com> wrote:

Quote:
I got the FormMail script from Matt's Script Archeive, read the Read Me file
and everything, but still don't really know what to do! I don't know where my
sendmail thing is on the server and all the Perl language is confusing. I have
run out of resources. If any one out there can help me through this, PLEASE
HELP!!!!

In the following, you will need to substitute your paths, email and domain
names. Also, the thanks.html file must be present.


Step 1: In your html file ---
-----------
<form method="post" action="./cgi-bin/formmail/formmail.cgi"
name="Feedback">
<input type=hidden name="recipient"
value="your-email (AT) your-dommain (DOT) com">
<input type=hidden name="subject" value="Your Site Web
Feedback">
<input type=hidden name="redirect"
value="http://www.your-domaain.ccm/thanks.html">
....
(your form stuff goes here)
....
<input type="submit" name="Submit" value=" Send Comments ">&nbsp;&nbsp;
<input type="reset" name="Reset" value=" Reset Form ">
</form>
------------


Step 2: In formmail.pl or formmail.cgi ---
------------
Edit the path to the sendmail program on your ISP's server (get that info
from your ISP). The line in formmail looks something like:

$mailprog = '/usr/lib/sendmail';
....
Edit the Referrers line to include your domain name. The like will look
something like:

@referers = ('your-domain.com');
------------

Also, be sure that you uploaded the formmail file in text mode.

Now, having said all of that, I would really suggest that you use the NMS
version, since it is more resistant to being hacked by spammers. You still
have to define the sendmail path and referrers, but that much is pretty much
the same as Matt's version. There are a few more options, too. But, you can
play with them later. Find it here:

http://www.scriptarchive.com/nms-download.cgi?s=nms-formmail&c=zip

Good luck.

John Gaver
Action America
(forget everything to contact me direct)

Microsoft: (n) Job security for IT consultants.



Reply With Quote
  #4  
Old   
Jonathan Stowe
 
Posts: n/a

Default Re: FormMail problems - 07-09-2004 , 11:20 AM



John Gaver <jgaEVERYver (AT) actionthingamerica (DOT) org> wrote:
Quote:
Now, having said all of that, I would really suggest that you use the NMS
version, since it is more resistant to being hacked by spammers.
In fact as far as we know there are no exploits that will cause it to
send e-mail to an unintended recipient.

Quote:
You still
have to define the sendmail path and referrers, but that much is pretty much
the same as Matt's version. There are a few more options, too. But, you can
play with them later. Find it here:
In the NMS FormMail you are required to specify the appropriate flags
for the sendmail program rather than having them hard-coded deep in the
program. There is also support for systems that do not have a sendmail
or similar program and can only send mail directly by SMTP (such as
windows).

Quote:
http://www.scriptarchive.com/nms-download.cgi?s=nms-formmail&c=zip

The very latest version is always available at:

http://nms-cgi.sf.net/scripts.shtml

The version at scriptarchive.com is quite out of date now.

Support questions about the NMS programs can be directed at:

nms-cgi-support (AT) lists (DOT) sourceforge.net

/J\


Reply With Quote
  #5  
Old   
kac3317
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 09:47 AM



OK I did everything the way you said to, but it can't find the cgi-bin folder
on the server. The host put it in another folder where all the site's pages
are. I've tried every path that I know that could get it there, but no luck. I
even tried moving the files around on the server and that didn't work either.
The page is http://www.coordinatedcarenetwork.org/request.html

Thanks in advance and thanks for the previous help!


Reply With Quote
  #6  
Old   
~Flash~
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 09:59 AM



Try using this DW Extention it's much easier then having to set up a perl
script. It runs off php, asp, or cf.

http://www.kaosweaver.com/extensions/details.php?id=69

It's pritty much self explainitory after you install the extention. If you
still need help just say so.

Flash


Reply With Quote
  #7  
Old   
kac3317
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 10:27 AM



Thanks!!! That really helped. It works now, but is there a way to put each field on a different line in the email? It is all together on one continuous line right now.

Thanks again!!!!

Reply With Quote
  #8  
Old   
~Flash~
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 10:29 AM



As long as everything stays in the form tags in code view you should be able to move them around were ever you please.

Flash

Reply With Quote
  #9  
Old   
kac3317
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 10:38 AM



Thanks for all the help this will be useful for future projects!!!!!

Reply With Quote
  #10  
Old   
~Flash~
 
Posts: n/a

Default Re: FormMail problems - 07-13-2004 , 10:41 AM



Glad to help,

Flash

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.