mail submission styling

Permalink
Hi I am trying to apply some styling to the mail that gets received once a user submits a form.

here is what i have

<?php 
defined('C5_EXECUTE') or die("Access Denied.");
$submittedData='';
foreach($questionAnswerPairs as $questionAnswerPair){
   $submittedData .= $questionAnswerPair['question'].'<br />'.$questionAnswerPair['answerDisplay'].'<br />'.'<br />';
} 
$formDisplayUrl=BASE_URL.DIR_REL.'/' . DISPATCHER_FILENAME . '/dashboard/reports/forms/?qsid='.$questionSetId;
$message = "<table width='100%' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td height='84' align='center' bgcolor='#000000' style='border-bottom-width: 4px;border-bottom-style: solid;border-bottom-color: #fcc71f;'><table width='600' border='0' cellspacing='0' cellpadding='0'>
      <tr>
        <td height='50'></td>
      </tr>
    </table></td>
  </tr>


I just want to make the questions appear as bold but the style I added doesn't get picked up - anyone got some ideas?

'<span style="font-weight:bold;">'.$message .= $questionAnswerPair['question'].'</span> <br />'.$questionAnswerPair['answerDisplay'].'<br />'.'<br />';

agentorange
 
WebcentricLtd replied on at Permalink Reply
does it work if you specify a font and a size?