View Full Version : FormMail @recipients errors
loewman
08-29-2005, 03:20 PM
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 (http://www.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
nobaloney
08-29-2005, 04:40 PM
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 (http://www.nobaloney.net/downloads/); you do need to make some settings, but it's quite secure and it works well.
Jeff
loewman
08-30-2005, 05:34 AM
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 = ('alvinjones@buggabunch.com');
@recipient_addresses = ('alvinjones@buggabunch.com');
@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="alvinjones@buggabunch.com">
<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
nobaloney
08-30-2005, 11:08 AM
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
loewman
08-30-2005, 11:25 AM
Thanks again for the reply...
How do I initiate a "mail command"
-E
nobaloney
08-30-2005, 11:56 AM
From your shell prompt you can run:
man mail
for the usermanual.
To send an email using mail you run from your prompt:
mail localuser@example.com
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.