View Full Version : Formmail/Autoresponder
Armand
04-28-1999, 04:58 PM
Okay I did a search here and read all the posts I don't get it.[nbsp][nbsp]Is there a solution on how to get an autoresponder to actually respond to the mail form?[nbsp][nbsp]To get it to stop sending it to webmaster@yourdomain.com.[nbsp][nbsp]Arrrgghh![nbsp][nbsp]Got to be a way to correct this without ssi or php, right?
Justin
04-28-1999, 05:39 PM
Set your mail form's From: address to the address the user enters (whether or not this can be done depends on the mail form being used - I'd do it in php of course :))
------------------
Justin Nelson
FutureQuest Support
[This message has been edited by Justin (edited 04-28-99)]
Armand
04-28-1999, 06:59 PM
Can it be done on FQ's built in mail form Justin?[nbsp][nbsp]That's what I am using.[nbsp][nbsp]And I definitely don't want to have to switch to php or shtml pages right now.
[This message has been edited by Armand (edited 04-28-99)]
Justin
04-28-1999, 07:38 PM
Looks like it - I've never used it but it has an option for a <font color=#FF0000>From:</font> field - called <font color=#FF0000>email</font>.
Try adding this to your mail form:
Email Address: <input type=text name=email size=30>
Add that along with whatever else you have in there.
Let me know if this helps (and if it works:) )
------------------
Justin Nelson
FutureQuest Support
Justin
04-28-1999, 07:39 PM
http://www.aota.net/Tutorials/Mail.shtml
Forgot to paste that in above:)
------------------
Justin Nelson
FutureQuest Support
Armand
04-29-1999, 12:25 AM
Hey Justin the form in question (http://www.arcanumcafe.com/museaward.html) has that in the form.[nbsp][nbsp]Think this is more a script problem on FQ's part from what I recall in previous posts.
The form mail that we provide works as it should.
In order to have the functionality you are looking for you will need to install the script within your own cgi-bin (any form mail script will work for this) you just need to make a minor modification.[nbsp][nbsp]If you do a search on thse forums for sendmail -f you will find your answers :)
Deb
Armand
04-29-1999, 10:28 AM
Okay I understand why this is happening.[nbsp][nbsp]If that's the only way around this so be it.[nbsp][nbsp]But instead of going out and searching through the huge mass of sendmail scripts, can I just get a copy of the one FQ uses so I can add it to my cgi-bin?
Sure.... you can grab it from here http://www.worldwidemart.com/scripts/formmail.shtml
Still the same version :)
Deb
Armand
04-29-1999, 07:45 PM
Thanks Deb... there's like so many of them out there.. figure might as well work with one that already seems to do the job good enough now.[nbsp][nbsp]Plus if there's problems... eg
Armand
04-30-1999, 04:51 AM
HELP!!! Okay I've got the formmail script setup and working out of my cgi-bin.[nbsp][nbsp]Even added the -t and -f thing I think properly but not sure.[nbsp][nbsp]Managed to change webmaster to whatever pop I want but doesn't solve the problem of getting the autoresponder to respond to the from part of the form.[nbsp][nbsp]Autoresponder still sends to address in -f thing... Have no idea here, am totally ignorant.[nbsp]
I'm not sure... but I do know who to ask ;)
Once Terra/Justin/Del are back around I'll try to point one of them back over here :)
Del wrote a lil script for the ez-mlm interface also to handle this type of situation... for an example .. www.hosthelp.com (http://www.hosthelp.com)[nbsp][nbsp]with a normal form mail button it wouldn't work..providing the same results you describe above but with Del's lil script it now works correctly... I'll see if we can't bribe him into one for this too :)
Deb
p.s. yes his scripts are gearing up for availability on aota and within the CNC for everyone soon.. tis part of the major ez-mlm project he's been slaving away at
[This message has been edited by Deb (edited 04-30-99)]
Armand
04-30-1999, 07:56 PM
Thanks Deb.
Jacob Stetser
04-30-1999, 11:00 PM
Yahooooo!
I can't wait until I have an ez-mlm script. Ask the man of the month if he can whip up a real autoresponder too!
------------------
icongarden.com/?fq (http://icongarden.com/?fq)
icongarden: making good ideas grow.
Okay, sorry this took me so long (I'll admit it, I plum forgot...)
##############
# First Option
To accomplish this, you will need your own copy of formmail in your own cgi-bin (it won't work with cgi-sys/mailform unless it is changed, and I don't know as we want to change that one). FormMail is available from http://www.worldwidemart.com/scripts/formmail.shtml
After you've downloaded formmail in archive format, unzip it to a dir on your computer, and find formmail.pl. Open up formmail.pl in your favorite text editor (like Arachnophilia), scroll down to line number 338, it should look like the following;
<font color=#FF0000>open(MAIL,"|$mailprog -t");</font>
Edit that line so it looks like the following;
<font color=#FF0000>open(MAIL,"|$mailprog -t -f$Config{'email'}");</font>
Now, the from switch is set to the email address the user entered into the form. I strongly suggest making the <font color=#FF0000>email</font> field in the form a required one, as it's quite important that this is a good email address! Andrew put in the default of webmaster@domain.tld for a good reason, so he doesn't get the bounced email. If you really want to override it with the -f switch, you must be careful :-)
If anyone wants to play with it, feel free to visit http://www.downinit.com/auto-formmail.html The auto-response you'll get is the default one that comes as an example with all FQuest domain accounts, so don't expect too much snazzy info about downinit.com
If anyone (specifically Andrew) sees that this is bad for any reason, let me know.
###############
# Second option
# More secure, but doesn't make use of FQuest's
# built in qmail auto-responders
Visit http://bignosebird.com/carchive/bnbform.shtml and download version 3 of BNBForm. This is similar in function to FormMail, but it also allows for an autoresponder as well as writing form results to a text file. I personally would choose this over the -f tweak on FormMail.
Del
--2:39pm, time to find some lunch--
Armand
05-05-1999, 02:22 AM
Thanks Del for the info.... It now works!!!!! YEAH! Scary part is I had it narrowed down to that line...but wasn't sure of the needed correction.[nbsp][nbsp]May one day understand some of this perl stuff :)
Happy to be of service
Del
ffurtado
01-30-2003, 04:17 PM
###############
# Second option
# More secure, but doesn't make use of FQuest's
# built in qmail auto-responders
Visit http://bignosebird.com/carchive/bnbform.shtml and download version 3 of BNBForm. This is similar in function to FormMail, but it also allows for an autoresponder as well as writing form results to a text file. I personally would choose this over the -f tweak on FormMail.
Del
Bob,
Thank you for your reply.
I use the BNB form on my web site and I really like it. The new BNB form script appears to be secure, and it is very easy to use. However, after several hours of trial and error, I was unable to make a form work with ezMLM subscription.
If anyone has a BNB form that works with ezmlm and sends a *copy* of the subscription/unsubscription email back to listowner domain.org I would appreciate looking at a copy of the hidden fields.
Thanks,
Fred
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.