FormMail @recipients errors

loewman

New member
Joined
Aug 29, 2005
Messages
3
Location
Montclair, NJ
Thank you for taking the time to read this.

I am new to DirectAdmin but not new to Matt's Script.

I recently designed BuggaBunch.com.

I created a simple form for people to fill out.
http://www.buggabunch.com/signup.htm

The FormMail.cgi is placed in the public_html --> cgi-bin directory.
The mode is 755.

The script is executing but I am receiving a @recipients Error.

My recipients are
@recipients = &fill_recipients('www.buggabunch.com','buggabunch.com');

Any ideas?
Thanks again.

-E
 
I've thought I was fairly good at Matt's FormMail script and it's various iterations, but I've never seen a line such as your before.

What version of the script are you using? And is it originally by Matt, or one of the tightened up variations?

You may want to to consider using the one I've posted here; you do need to make some settings, but it's quite secure and it works well.

Jeff
 
Thanks for the reply jlasman

I posted your script and changed the settings and I am still receiving an Error: No Recipient.

These are my settings.

$mailprog = '/usr/sbin/sendmail';

$mail_admin = ('[email protected]');

@recipient_addresses = ('[email protected]');

@recipient_domains = ('buggabunch.com','www.buggabunch.com');

@valid_ENV = ('REMOTE_HOST','REMOTE_ADDR','REMOTE_USER','HTTP_USER_AGENT');


HTML Page settings
<form ENCTYPE="multipart/form-data" action="http://www.buggabunch.com/cgi-bin/FormMail.cgi" method="post">

<input type=hidden name="recipient" value="[email protected]">

<input type=hidden name="subject" value="Bugga Bunch - Sign-Up">

<input type=hidden name="redirect" value="http://www.buggabunch.com/thankyou.htm">

<input type=hidden name="required" value="FIRSTNAME,LASTNAME,EMAIL">


Any more ideas?

The CGI script is running. Do you think it is a server issue?

Thanks
E
 
I have no idea but it all looks good from here and the script works well for us.

Have you tried googling the specific error message? That might be helpful.

Also check to make sure the recipient address is reachable on your server ( send it email using the mail command).

Jeff
 
Back
Top