title: Mail function issue
body: <p>I am using mail function as i want to send message in a format for that i have used '\n' but it is showing as \n , the text does not comes in the second line. </p>
  
  <p>My code is :</p>
  
  <pre><code>$to  = 'user@mydomain.in'; 
  $from='admin@mydomain.in';
  $sendername='user';
  $replyto='admin@mydomain.in';
  $subject='Enrollment in Course';
  $message='Please enroll '.$enrolmentdetails[0][email].' in Coursefor '.$enrolmentdetails[0][productname].'.';
  $message.='\nOther Details are:\nFirstname : '.$enrolmentdetails[0][cf_549].'\nLastname : '.$enrolmentdetails[0][lastname].'\nMobile No : '.$enrolmentdetails[0][cf_591];
  if(sendEMail($to, $from, $sendername, $replyto, $subject, $message))
  showMessage('Email with student details sent successfully.', 'main-content', 'divMsg', APP_URL."views/completeenrollments.php", 3000, 'success');
  else
  showMessage('There was some problem sending student details. Please try again later', 'main-content', 'divMsg', APP_URL."views/completeenrollments.php", 3000, 'error');
  </code></pre>
  
  <p>Right now i am getting this :</p>
  
  <p>Please enroll newuser@gmail.com  in Course for FP - LVC Plus.\nOther Details are:\nFirstname : new \nLastname : user\nMobile No : 121213313</p>
  
  <p>Please help me on this</p>
  
  <p>Thanks</p>