I have a problem for hours now, i have made a form in html and the make a send.php to email it to me, but it doesn’t send email so i hope that some one can help me with this problem.
[php]<?php
/* subject and email variables */
$emailSubject = 'CM Application Form';
$webMaster = '[email protected]';
/* Gathering Data Variables */
$completename - $_POST ['completename'];
$month - $_POST ['month'];
$day - $_POST ['day'];
$year - $_POST ['year'];
$adress1 - $_POST ['address1'];
$adress2 - $_POST ['address2'];
$city - $_POST ['city'];
$state - $_POST ['state'];
$country - $_POST ['country'];
$email - $_POST ['email'];
$skype - $_POST ['skype'];
$country1 - $_POST ['country1'];
$yes - $_POST ['yes'];
$month1 - $_POST ['month1'];
$day1 - $_POST ['day1'];
$factor - $_POST ['factor'];
$yes1 - $_POST ['yes1'];
$yes2 - $_POST ['yes2'];
$yes3 - $_POST ['yes3'];
$texarea1 - $_POST ['textarea1'];
$yes4 - $_POST ['yes4'];
$texarea2 - $_POST ['textarea2'];
$yes5 - $_POST ['yes5'];
$texarea3 - $_POST ['textarea3'];
$texarea4 - $_POST ['textarea4'];
$status - $_POST ['status'];
$texarea5 - $_POST ['textarea5'];
$body = "
Completename: $completename
Date of Birth: $month $day $year
Address1: $address1
Address2: $address2
City: $city
State: $state
Country: $country
Email: $email
Skype Id: $skype
The country you want to be a Country Manager of: $country1
Are you a member of WAZZUB, PerfectInter.net: $yes
If YES, please provide the date you first became a member. : $month1 $day1
What is your current Factor: $factor
Do you write and speak fluently in your native language: $yes1
Do you write and speak fluently in English: $yes2
Can you commit to give online Support to your Countrymen in the WAZZUB Community at a minimum of 3 days per week - 1 hour per day? $yes3
If you have provided any support to members please state where and how & also provide links to your support materials e.g blogs etc: $textarea1
Can you commit to translate needed documents on a timely fashion from English to your native language on an ongoing basis as the company requires? $yes4
Education Back Ground: $textarea2
Do you have management skills? $yes5
In no less than 100 words describe your professional background: $textarea3
In no less than 100 words describe your social background and activities: $textarea4
What is your overall health status? $status
In NO LESS than 100 words, explain what do you believe makes you the best candidate for this position? $textarea5
";
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results Rendered as HTML */
$theResults = "
CM Application Form
body {
background-color: white;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 18px;
font-style: normal;
line-height: normal;
font-weight: normal;
color: black;
text-decoration: none;
}
–>
?>[/php]
Many thanks