\n"; $subject = "Contractor Application"; $msg .="company: $cname\n"; $msg .="title: $title\n"; $msg .="first: $first\n"; $msg .="last: $last\n"; $msg .="address: $addres\n"; $msg .="city: $city\n"; $msg .="state, zip: $state $zip\n"; $msg .="work: $work\n"; $msg .="home: $home\n"; $msg .="cell: $cell\n"; $msg .="fax: $fax\n"; $msg .="email: $email\n"; $msg .="capabilities: $caps\n"; $msg .= "from IP: $_SERVER[REMOTE_ADDR]\n"; $recipient = "terrilane@ak.net"; $mailheaders = "From: ".$email." <$email>\n"; $mailheaders .= "Reply-To: ".$email."\n"; $mailheaders .= "X-RECP To: ".$email."\n"; $mailheaders .= "email: ".$email."\n"; mail ($recipient, $subject, $msg, $mailheaders); echo "\nMessage Sent!\n"; } elseif($state)echo "\nERROR: Not all *required fields were filled out.\n"; ?>