PDA

View Full Version : Working but not getting any e-mail


thetaxi
05-10-2002, 02:49 PM
I have been trying and trying to get formmail setup.

I have read all the other threads in hopes of trying to figure this out my self, but to no avail. Here is the pertinentinfo:

Here are the FormMail.pl settings:
1.) $mailprog = '/usr/sbin/sendmail';
2.) @referers = ('worldwidemart.com','206.31.72.203');
@referers = ('thetaxigammaiota.org','66.162.74.160');
3.) @recipients = ('^thetaxi@thetaxigammaiota.org');

Here is my form:
<FORM action="/cgi-bin/FormMail.pl" name="My Form">
<input type=hidden name="recipient" value="Adam@lonetree.com">
<HR>
<FONT size="+1"><B>First Name</B></FONT>: <INPUT size="20" tabindex="1" type="text" name="Firstname"><BR>
<FONT size="+1"><B>Last Name:</B></FONT> <INPUT size="20" type="text" name="LastName"><BR>
<B><FONT size="+1">E-mail Address</FONT></B>: <INPUT size="40" type="text" name="EmailAddress"><BR>
<B><FONT size="+1">Home State</FONT></B>: <INPUT size="20" type="text" name="HomeState"><BR>
<B><FONT size="+1">Home Town: <INPUT size="20" type="text" name="HomeTown"></FONT></B><BR>
<HR>
<INPUT type="submit" name="submit" value="Submit"><INPUT type="reset" name="reset" value="Reset"></FORM>

After the user clicks on Submit, they get the thank youscreen with everything they entered showing, but I don't get any e-mails.

Any advice would be helpful

SSubtle
05-10-2002, 07:57 PM
You are not alone.

I've been researching this for the past week. I've been working with the Perl version of FormMail provided here, the latest version from Matt Wright, and a PHP version of the FormMail script (which I actually prefer).

None of these send out the appropriate email when the email address is a forwarder (forwarding address rather than a real POP email address). And anything sent from a form to a valid email address is very slow. I've run test after test, updated my trouble ticket with HR, and I'm still waiting to hear. Best I can find is it's a sendmail configuration issue on HR's end, unfortunately I can't verify this.

Based on your configuration, I'm guessing that "thetaxi" at "thetaxigammaiota.org" is a forwarding address? Also, you do realize that the hidden "recipient" value on your HTML form will not be used since you're specifying 1 and only 1 email address in the FormMail variable "@recipients".

I'll post here once I have a resolution, but like I said I'm still waiting to hear from HR.

:: m a r t y

thetaxi
05-16-2002, 01:23 PM
Thank you for your help.

Updated info:

The code that I provided was a little wrong. I put Adam@lonetree.com as my address. The address that is actually there in its place is thetaxi@thetaxigammaiota.org.

I had it forwarding to another address for a while, but I thought that might have been the problem. I changed everything so that it would only send to the one address, thetaxi@thetaxigammaiota.org.

So far it still doesn't work.

Thanks for your help and I will continue to look for updates.

mi2sense
05-29-2002, 01:57 PM
I see others reporting this too. Maybe among us we can gather enough information for a fix. Here's a case where it tested OK using another primary domain, where the site was developed as a sub-domain, but now does not work at all.

Yes, I got HR another customer but whether the customer stays is up to them. They know about this FormMail problem and that it is being fixed. I'm saving info at http://www.theclubatmissionhills.com/implementation.htm so the client can keep up with status. Thanks everyone!


Old Primary Account - Uses Old Control Panel; Tested OK; Now fails

membershipForm.htm

<input type=hidden name="recipient" value="ezthinkr@yahoo.com">
<input type=hidden name="subject" value="Request for Membership">
<input type=hidden name="redirect" value="http://www.your-webworks.com/membershipForm-acknowledge.htm">
<input type=hidden name="required" value="Name,HomeAddress,HomePhone,WorkAddress,WorkPhone,email">
<input type=hidden name="print_blank_fields" value="1">
<input type=hidden name="title" value="Membership Form Acknowledgement">
<input type=hidden name="missing_fields_redirect" value="http://www.your-webworks.com/membershipForm-mistake.htm">

FormMail.pl

#!/usr/bin/perl -w
$mailprog = '/usr/sbin/sendmail';
@referers = ('your-webworks.com','66.78.50.86');
@recipients = ('^ezthinkr@yahoo.com');

New Primary Account - Uses New Control Panel; No Success at all

membershipForm.htm

<input type=hidden name="recipient" value="ezthinkr@yahoo.com">
<input type=hidden name="subject" value="Request for Membership">
<input type=hidden name="redirect" value="http://www.theclubatmissionhills.com/membershipForm-acknowledge.htm">
<input type=hidden name="required" value="Name,HomeAddress,HomePhone,WorkAddress,WorkPhone,email">
<input type=hidden name="print_blank_fields" value="1">
<input type=hidden name="title" value="Membership Form Acknowledgement">
<input type=hidden name="missing_fields_redirect" value="http://www.theclubatmissionhills.com/membershipForm-mistake.htm">

FormMail.pl

#!/usr/bin/perl -w
$mailprog = '/usr/sbin/sendmail';
@referers = ('www.theclubatmissionhills.com','66.162.73.15');
@recipients = ('^ezthinkr@yahoo.com');

mi2sense
05-29-2002, 02:36 PM
Also tried renaming the account's cgi-bin/ForlMail.pl and the form action to membership.pl to get around the server wide alias pointing to /cgi-sys/FormMail.pl. No go.