Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mail form problem

Status
Not open for further replies.

natedeia

Technical User
May 8, 2001
365
US
I have a Flash 5 form built and am having problems with the script working. The host's server supports PHP.

At the moment I can not get the action script for the (submit) button and stuff right now, but is the below script look ok?? THANKS IN ADVANCE!!!!


<?php
mail($firstname, $lastname,
$creditor1, $balance1, $minpymt1, $interestrate1,
$creditor2, $balance2, $minpymt2, $interestrate2,
$creditor3, $balance3, $minpymt3, $interestrate3,
$creditor4, $balance4, $minpymt4, $interestrate4,
$creditor5, $balance5, $minpymt5, $interestrate5,
$creditor6, $balance6, $minpymt6, $interestrate6,
$creditor7, $balance7, $minpymt7, $interestrate7,
$creditor8, $balance8, $minpymt8, $interestrate8,
$creditor9, $balance9, $minpymt9, $interestrate9,
$creditor10, $balance10, $minpymt10, $interestrate10,
$creditor11, $balance11, $minpymt11, $interestrate11,
$creditor12, $balance12, $minpymt12, $interestrate12,
$creditor13, $balance13, $minpymt13, $interestrate13,
$creditor14, $balance14, $minpymt14, $interestrate14,
$creditor15, $balance15, $minpymt15, $interestrate15,
$input
&quot;From:&quot;.$mail.&quot;\nReply-To:&quot;.$mail);
echo(&quot;sent=success&quot;);
?>
 
Any errors? What is it doing wrong? Perfection in engineering does not happen when there is nothing more to add. Rather it happens when there is nothing more to take away.
 
No there are no errors that pop up. Also no information is being sent to the specified email address. Does the script look ok?
 
I don't know. Does the variable:

$lastname contain the email address of the recipient?

$firstname contain the subject line of the message? Perfection in engineering does not happen when there is nothing more to add. Rather it happens when there is nothing more to take away.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top