You are here

function htmlmail_show_email in HTML Mail 7

Displays the email message body passed via POST as a themed page.

1 string reference to 'htmlmail_show_email'
htmlmail_menu in ./htmlmail.module
Implements hook_menu().

File

./htmlmail.admin.inc, line 202
Admin forms for HTML Mail

Code

function htmlmail_show_email() {
  if ($css = variable_get('htmlmail_css', '')) {
    drupal_add_css($css, array(
      'type' => 'inline',
    ));
  }
  return isset($_POST['body']) ? $_POST['body'] : '(Empty)';
}