Example #1
0
 /**
  * Determines if mbayer html2text is installed (more information at http://www.mbayer.de/html2text/)
  * and uses it to automatically create a text version of the html email
  *
  * @static
  * @return void
  */
 protected static function determineHtml2TextIsInstalled()
 {
     exec('html2text -version', $output, $check);
     self::$html2textInstalled = !empty($output) ? true : false;
 }