Hi all,

Why won't this send an email. SMTP is running.

PHP Code:
 $headers  "MIME-Version: 1.0\r\n"
 
$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n"
 
$headers .= "From: Training Department\n"
 
$subject  ucwords('hello'); 
 
$content  "From: ".ucwords($name)."\n"
                     
."Message: \n Hi all \n"
                     
.$note."Regards, \n"
                     
.ucwords($name);
 
 foreach (
$email as $key => $value
 {
                  
$value .= '@yahoo.com';
                 echo 
$key .'=>'$value.'<br />';
                 
                 
mail($value$subject$content$headers);
 }