PDA

View Full Version : No Emails and No errors



grcauto@evenlink.com
22-Jul-2008, 03:08 PM
I've used this processor for 4 years and never had a problem. Today I downloaded the newest version and set it up. When submitting a form without all required fields populated I get the correct error in my browser and also the email is sent describing the error. After submitting the form with all required fields I get my "thank you for your submission" page, but I don't recieve my emails.

Here's the config:




/* Help: http://www.tectite.com/fmdoc/email_name.php */
define("EMAIL_NAME","^[-a-z0-9.]+"); // the '^' is an important security feature!
/* Help: http://www.tectite.com/fmdoc/target_email.php */
$TARGET_EMAIL = array("^grcauto@evenlink\.com$",
"^de@theflamingtorch\.org$",
"^onebookpreacher@yahoo\.com$");
/* Help: http://www.tectite.com/fmdoc/def_alert.php */
define("DEF_ALERT","grcauto@evenlink.com");
/* Help: http://www.tectite.com/fmdoc/set_real_document_root.php */
$SET_REAL_DOCUMENT_ROOT = ""; // overrides the value set by SetRealDocumentRoot function
//
// override $REAL_DOCUMENT_ROOT from the $SET_REAL_DOCUMENT_ROOT value (if any)
// Do not alter the following code (next 3 lines)!
//
if (isset($SET_REAL_DOCUMENT_ROOT) && $SET_REAL_DOCUMENT_ROOT !== "")
$REAL_DOCUMENT_ROOT = $SET_REAL_DOCUMENT_ROOT;
/* Help: http://www.tectite.com/fmdoc/config_check.php */
$CONFIG_CHECK = array("TARGET_EMAIL");
/* Help: http://www.tectite.com/fmdoc/at_mangle.php */
define("AT_MANGLE","1poseyvae");
/* Help: http://www.tectite.com/fmdoc/target_urls.php */
$TARGET_URLS = array(); // default; no URLs allowed


Here's the form:


<form name="Link" method="post" action="subform.php">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<input type="hidden" name="recipients" value="grcauto1poseyvaeevenlink.com,de1poseyvaetheflamingtorch.org,onebookpreacher1poseyvaeyahoo.com" >
<input type="hidden" name="good_url" value="http://www.theflamingtorch.org/thanks.htm" />
<input type="hidden" name="required" value="name:Your Name,email:Your email address,url:URL of the website you are submitting,title:Title of your website,reciprocal:The URL of our reciprocal link" />
<table width="68%" border="1" cellspacing="0" cellpadding="0" height="265" bordercolor="#006699">
<tr>
<td width="63%">*Your Name</td>
<td width="37%">
<input type="text" name="name" size="25" maxlength="50">
</td>
</tr>
<tr>
<td width="63%">*Your email address</td>
<td width="37%">
<input type="text" name="email" size="25" maxlength="50">
</td>
</tr>
<tr>
<td width="63%"><font face="Georgia, Times New Roman, Times, serif">*URL
of the website you are submitting</font></td>
<td width="37%">
<input type="text" name="url" size="25" maxlength="75">
</td>
</tr>
<tr>
<td width="63%"><font face="Georgia, Times New Roman, Times, serif">*Title
of your website (name)</font></td>
<td width="37%">
<input type="text" name="title" size="25" maxlength="50">
</td>
</tr>
<tr>
<td width="63%"><font face="Georgia, Times New Roman, Times, serif">Website
description (200 characters max)</font></td>
<td width="37%">
<input type="text" name="Website Desctiption" size="25" maxlength="200">
</td>
</tr>
<tr>
<td width="63%"><font face="Georgia, Times New Roman, Times, serif">*The URL
of our reciprocal link</font></td>
<td width="37%">
<input type="text" name="reciprocal" size="25" maxlength="75">
</td>
</tr>
<tr>
<td width="63%" height="51">&nbsp;</td>
<td width="37%" height="51">
<input type="submit" name="Submit" value="Submit">
<input type="reset" name="Clear" value="Clear ">
</td>
</tr>
</table>
<p>
</form>;</td>

Thanks for any help.
Greg

ginger23
22-Jul-2008, 04:01 PM
Hi,

I'd suggest testing a simple form with one recipient to see if email from a form is working. Then go from there.

Also, is this on the same server as the other installations of formmail? Windows or Unix?

ginger