After following the threads closely I still get no_valid_recipients
formmail.php
Code:
$TARGET_EMAIL = array(EMAIL_NAME."^jp@jptechnical\.com$");
//
// here are some other examples...
//
//$TARGET_EMAIL = array("^yourname@yourhost\.com$");
//$TARGET_EMAIL = array("^yourname@yourhost\.com$","^someone@yourhost\.com$");
//$TARGET_EMAIL = array(EMAIL_NAME."@yourhost\.com$",EMAIL_NAME."@otherhost\.com$");
//
// ** OPTIONAL BUT STRONGLY RECOMMENDED **
// Set DEF_ALERT to the email address that will be sent any alert
// messages (such as errors) from the script. This value is
// only used if the 'alert_to' is not provided by the form.
// If neither alert_to nor DEF_ALERT are provided, no alerts are sent.
//
// DEF_ALERT can be any email address and it's independent of
// the TARGET_EMAIL setting.
//
// Example:
// webmaster@yourhost.com
//
// If you set DEF_ALERT, you can do some initial tests with your browser.
// Just open this URL:
// http://www.your-site.com/formmail.php?testalert=1
//
define("DEF_ALERT","jp@jptechnical.com");
sampleform.html
Code:
<!-- STEP 1: Put the full URL to formmail.php on your website in the 'action' value. -->
<form method="post" action="http://childcareconnection.org/forms...l/formmail.php" name="SampleForm">
<input type="hidden" name="env_report" value="REMOTE_HOST,REMOTE_ADDR,HTTP_USER_AGENT,AUTH_TYPE,REMOTE_USER">
<!-- STEP 2: Put your email address in the 'recipients' value. -->
<input type="hidden" name="recipients" value="jp@jptechnical.com">
<!-- STEP 3: Specify required fields in the 'required' value -->
<input type="hidden" name="required" value="email:Your email address,realname:Your name">
<!-- STEP 4: Put your subject line in the 'subject' value. -->
<input type="hidden" name="subject" value="Sample FormMail Testing">
Please tell me what I am missing???
I tested the testmail and testmail2.php with no problems.
I get the error logs but no forms.
Bookmarks