Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k & phranque

Message Too Old, No Replies

Get that email address undercover!



3:38 am on Feb 13, 2001 (gmt 0)

10+ Year Member

Anybody got a way to get the hidden input field 'recipient' on formmail off the form page and into the script? In other words the script automatically knows where to send the forms.


10:51 am on Feb 13, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

A quick hack is to find the line:

print MAIL "To: $Config{'recipient'}\n";

in the send_mail subroutine, and change it to

print MAIL "To: user\@domain.com\n";

(the backslash before the @ is vital or it'll break)

The script checks for a recipient field in the submitted form, so you'll have to put a dummy address (eg bitbucket@nospamplease.com) in your HTML.


6:48 pm on Feb 14, 2001 (gmt 0)

10+ Year Member

Thanks.....it works fine that way.

Featured Threads

Hot Threads This Week

Hot Threads This Month