Forum Moderators: mack

Message Too Old, No Replies

Perl form problem

using formmail

         

stef25

8:32 pm on May 17, 2004 (gmt 0)

10+ Year Member



i got formmail from the site and made the following changes, as instructed by the readme file

i get a bad/no recipient error msg

$mailprog = '/usr/sbin/sendmail -i -t';
@referers = ('mydomain.org');
@recipients = &fill_recipients('mydomain.org');

i have the following line in the html code of my form.html

<input name="recipient" type="hidden" value="myadress@mydomain.org" />

- all permissions are set to 755
- im using an adress hosted at the server on which the form sits

where else do i need to enter my email adress?

this has been bugging me for two days and ny eyes are starting to go square from staring at the screen for so long. ive also got mouse wrist

bunltd

8:54 pm on May 17, 2004 (gmt 0)

10+ Year Member



Stef, Looks like you're using Matt's script, that one has known problems with vulnerability to spammer exploits and the like. (we use NMS FormMail, it works the same way, but prevents the exploits)

Take a look at this Google search &fill_recipients('mydomain [google.com], there are several possibilities. (the first result had to do with editing the formmail script in DW) Hope this helps.

LisaB

stef25

11:14 pm on May 17, 2004 (gmt 0)

10+ Year Member



lisab

thank you so much. i got nms to work in minutes, compared to days of work on formmail and still no result

cant recommend it enough, its so much clearer to configure than formmail

[nms-cgi.sourceforge.net...]

big thanks. i love this forum!

stefan