Mar 5, 2006

I'm trying to set up a contact form to use formmail.php but am not sure of the email line. Can you say if its right?

<input type="hidden" name="recipients" value="" ,"", "", " /">

and the formmail.php script with:

$TARGET_EMAIL = array('' ,'', '', '' /);

I dont know about the leading slash at the end, or if I've done the 4 email addresses properly.

View 2 Replies


PHP Formmail

This script below is very simple and should have no problems, right? It works properly in the browser, no problems, but then the e-mail never arrives. Anyone know why? PHP Code:

View 3 Replies

How Do I Set Up Formmail?

Trying to set up formmail.php I am asked to configure the email of the recipient, in formmail.php How would I change the line below to get it to send an email to ?

$TARGET_EMAIL = array(jan."$");

View 2 Replies


i created a 1 page sendmail form and this form is inside an iframe. everything is working fine, i can fill up the form, send and i can receive my test email

however after sending the email, it should normally return to its original page.
its returning to its original page but the css style, placement of the form field, text is different. Code:

View 8 Replies

Trouble With PHP Formmail

I'm using PHP 4.4.4 and have downloaded the free script
formmail.php (version 4.1b). Wondered if anyone had experienced the
same problem I'm having. I'm submitting a form to formmail.php, but
none of the variables seem to be getting recognized. Here is part of
the form I'm submitting ...

<body onload="document.forms[0].submit();">
Sending Order ...

<form action="formmail.php" method=post
<INPUT TYPE="hidden" NAME="subject" VALUE="Order for Coffee">
<INPUT TYPE="hidden" NAME="redirect" VALUE="thanks.html">
<INPUT TYPE="hidden" NAME="recipient"

but then I get warnings like below ...

Notice: Undefined variable: recipient in
/usr/local/apache2/htdocs/andersonscoffee/formmail.php on line 365

Notice: Undefined variable: required in
/usr/local/apache2/htdocs/andersonscoffee/formmail.php on line 383

Notice: Undefined variable: require in
/usr/local/apache2/htdocs/andersonscoffee/formmail.php on line 388

Notice: Undefined variable: email in
/usr/local/apache2/htdocs/andersonscoffee/formmail.php on line 429

but as you can see above, "recipient" and "email" are clearly defined.
What am I doing wrong?

View 4 Replies

Formmail With Attachemnts

i want to put a form on my site that ppl can email me through and also send attachments if they want! i have a php script but it doesn't send the attachments!

View 1 Replies

Formmail Blues

I'm working on a little dice server e-mail utility for my gaming

The problem is that the content string that I send to formmail.php is
not the content string that gets e-mailed to me.

For example, the javascript generates...

Roll #1: 2d10 [10,2] = 12
Roll #2: 2d10 [3,7] = 10
Roll #3: 2d10 [9,6] = 15
Roll #4: 2d10 [9,5] = 14
Roll #5: 2d10 [7,6] = 13
Roll #6: 2d10 [1,6] = 7
Roll #7: 2d10 [6,8] = 14
Roll #8: 2d10 [2,6] = 8
Roll #9: 2d10 [10,7] = 17
Roll #10: 2d10 [5,1] = 6

But the e-mail that I get has truncated data...

Roll #1: 2d10 [10,2] =2
Roll #2: 2d10 [3,7] =0
Roll #3: 2d10 [9,6] =5
Roll #4: 2d10 [9,5] =4
Roll #5: 2d10 [7,6] =3
Roll #6: 2d10 [1,6] =
Roll #7: 2d10 [6,8] =4
Roll #8: 2d10 [2,6] =
Roll #9: 2d10 [10,7] =7
Roll #10: 2d10 [5,1] =

The dice server page uses to work properly. My guess is that my ISP
has done something to PHP on the server. I know that since I had to
change the formmail.php script to use $_POST. (Disabling global
registers) Was there a version change in PHP that would cause it to
incorrectly parse that text? Perhaps an HTML conversion that's
getting in the way when $_POST is used versus global variables?

View 2 Replies

MultiPage FormMail

I am needing help with creating the php for a multipage form. I know how to make the forms but I am not sure how to code the php and what to add to the forms to make them work with the php.

View 1 Replies

How To Use Captcha On Nms Formmail

I downloaded an Omgili php captcha script and I'd like to incorporate it into my formmail script, but I'm not sure exactly how to. Here's the deal:

The formmail script is a perl script stored in the cgi-bin and is being used as 'post'. When the 'submit' button is pressed, the form data gets sent to the script and the user is redirected to the thank you page.

The captcha script that I have stores the authentication status of either 'incorrect' or 'correct' in the variable $message, which simply gets printed when 'submit' is pressed.

How can I get it so that the form the formmail form gets submitted only for the $message is 'correct'?

View 1 Replies

Multiple CCs In Formmail

My form currently has an array that looks like this:

$formAction['default'] = array(
'recipient' => '',
'recipient_cc' => '',
'recipient_bcc' => '',
'subject' => 'Contact Form',
'redirect' => '',

Can I make it successfully send to multiple CCs by changing that particular line to something like this?

'recipient_cc' => '','',

OR maybe this:

'recipient_cc' => ('','')

View 1 Replies

Troubleshooting Formmail

I am having an issue with this code, and let's see if I can explain it. The script sends orders to a faxing system, as well as copies to certain people. All of the orders are going through, with the correct from/reply/return headers, except for the main one that goes to the fax system.

That e-mail simply pulls from the server instead of the correct from address and thus it won't send the fax since the system doesn't recognize the registered email account. Code:

View 1 Replies

Duplicate Emails From Formmail.php

Can anyone tell me why I might be getting 2 email returns for every form post using formmail.php?

Both are identical, both have the same time sent.

I'm using the recipient in the formmail.php script because when I use recipient in my form, it doesn't work.

View 1 Replies

Allow Photos To Be Uploaded Via Formmail.

I am told that I have to alter my script somehow to allow for photos to be uploaded via formmail. Can anyone tell me what I need to do? I dont have much experience with this. I am using Jacks Formmail script. The script is to long to post here. It wont allow me to.

View 3 Replies

Formmail, Containing A Lot Of Forms To Fill In

I have a really annoying problem, and am quite frankly a newbie at everything php related. I need a formmail, containing a lot of forms to fill in. And! I need the actual email to come up as



With big and small letters, and I haven't seen any form that is able to do this. I also need it to be kinda simple, since I have no experience at it at all. I've tried almost everything.

View 1 Replies

FormMail.php 5.0 Parse Error

I am using FormMail.php 5.0 successfully on my UNIX server. I have a client who has a Windows box and has installed PHP onto it. PHP in many cases seems to be working with other test scripts, but when I try to run the FormMail.php on the Windows box I get the following error:

Parse error: parse error, unexpected $end in C:wampwwwASCSpublic_htmlformmailcontact.php on line 421

We have no idea what is happening, and I don't believe the script is missing any brackets. The only thing I changed (and then tested on both systems with the same results ) is changing the <? to <?php. I don't believe that has an affect. Is there a php ini issue here I'm not seeing?

View 3 Replies

Web Development - Should Use Formmail Or It's Mail

I recently started working on a web project which was already in progress; the guy who built the foundation for it had the signup page sending the form fields to a formmail Perl script, so that he could get an email when a user signs up. I'm not familiar with Perl, and my inclination is to just use the PHP mail() function and drop the Perl script, rather than spend time trying to figure out how to use it correctly.

So, is there any good reason to keep using the Perl script, or should I just advise him to drop it in favor of PHP mail? Any pros and cons, or is it entirely subjective?

View 2 Replies

Formmail To Email In Database?

Here's what I need to setup and I am not well versed in PHP/SQL but this is what I'm trying to do.On the New User database, I will have a section where they can have information sent to their phone using the provider's default e-mail to text msg(i.e.

New User:Input number: ______________(2225551212 format, no hyphens, etc.).Select Provider:(Drop-down menu with proper @provider.ext...), Then the formmail, when sent, if for specific user will get ($phone".@."$provider); or something like that and send a preset message like:$user."requested information on ".$product."on".$date." at ".$time.".";.

Is this possible?The $user, $product, $date, $time all are generated directly from the most recent input page for a database.

View 1 Replies

FormMail Easy Replacement?

have a PHP FormMail installed on my server and I heavily relied on it. Suddenly it stopped working, even thought it still says that messages are sent (but they are never delivered). I contacted my host and I am waiting for a reply but I suspect that they just disabled mail() on the server because they did that another time to me as well on another site I host with them.I was wondering if there is a quick way to either replace PHPFormMail or send emails a different way.I have heavily modified the PHP FormMail script for my needs so going to a different type of form handler would be a time-consuming process for me...Is there another PHP function I can use to send emails and just replace the one instance of mail() inside the PHPFormMail code?

View 8 Replies

Checkbox Error In Formmail Script

I want to do is add a checkbox input to a very simple form mail script and I keep getting the error:

Parse error: parse error, unexpected '}' in d:inetpubsiteswww.jimdiodati.comwebfeedback.php on line 6

As you can see, line 6 is pretty much fine. If I take out all references to the checkbox, the script goes through fine. Perhaps I'm tired, but I can't seem to figure this one out.

View 1 Replies

Formmail Is Not Working For Soem Reason

I have a form on website, <snip> This form is not working for soem reason Please help troubleshoot it. Following is php code Ive used:
$name = $_REQUEST['name'] ;
$email = $_REQUEST['email'] ;
$message = $_REQUEST['Message'] ;
$company = $_REQUEST['company'] ;
$phone = $_REQUEST['phone'] ;

mail( "", "contact us form",
$message, $name, $company, $phone, "From: $email" );
header( "Location:" );

Contact.php is the script. Following is the code of htm form, which calls this script.

<form method="post" action="">

View 1 Replies

Re CAPTCHA With Tectite Formmail Working?

I've been using Form mailer for a couple years but now have a huge issue with SPAMMERS.Here is my Formmail code it is located at the top of the PHP file

<form method="post" action="" name="NASF Forms ">
<input type="hidden" name="recipients" value="" />


I don't know what to do to get the Page Redirected and Email sent to me, IF i remove the


from the Formmail code i get this response.We've received your information and, if it's appropriate, we'll be in contact with you soon.Your form submission was processed by (8.16), available from


If I put the code back in the formmail part.It redirects to the thankyou page but no matter which i do.I don;t get the emails.Can you recommend a way to incorperate these together so that the form works.Spam is reduced or stopped and i get the email forms sent to me.

View 1 Replies

No Formmail Results Via Exchange Server

I have formmail.php set up on a site to process a short form and include an attachment (a resume). I receive my copy of the form results with the attachment just fine, but my client is not receiving his copy.

My client uses Exchange Server, so his mailbox is not set up on our webhost, but I created a temporary box to test the form, had it forward to my email address and received those results too.

I then sent a test email directly to the address specified in the form and they DID receive the email.

Seems like the results are being filtered out somewhere along the line - possibly because of the attachment - however the results are not appearing in the Exchange Server spam folder.

View 1 Replies

Omitting Blank Fields In Formmail Results

I have a form processing script that takes my form info and emails to
me. Pretty basic and it works. But I'd like to be able to have it not
print a form variable if the value is empty. I know about using
if $($incoming_fields[$i] = "") {
to find the empty value. I'm just not sure about how to tell it to not
print the empty ones in the results. Can anyone help? Thanks.

Below is the current info used to populate the email sent to me:

$incoming_fields = array_keys($_POST);
$incoming_values = array_values($_POST);

for ($i = 0; $i < count($incoming_fields); $i++) {
if($incoming_fields[$i] != "rec_mailto") {
if($incoming_fields[$i] != "rec_subject") {
if($incoming_fields[$i] != "rec_thanks") {
if($incoming_fields[$i] != "opt_mailto_cc") {
if($incoming_fields[$i] != "opt_mailto_bcc") {

View 2 Replies

Text Replacement - Very Simple FormMail Code

I've written a very simple FormMail code that will take a Users email addy and then send an email to my server that subscribes them to my mailing list.

The problem is that they enter their email addy as and I need a code to switch it to

View 11 Replies

Contact - Send To Formmail After Initial Php Checks

I have a contact page that, when submit is clicked it checks the inputs
then outputs to a "read only" version of the input form fromwhich the email
can be sent.
How would I go about changing the script so when the submit button is
clicked, it'll check, and if it passes the requirements, it'll be sent (to
the formmail script)?

View 2 Replies

Flash Formmail / Works On Unix But Not Linux?

I recently changes from using a unix server to a linux server. they are both using php5 but the problem is that the linux server will not send mail. below is the script. is anyone familar with this problem(going from unix to linux)? do i need to modify the script for a linux server for it to work? Code:

View 1 Replies

Copyrights 2005-15, All rights reserved