You are here

function mimemail_help in Mime Mail 8

Same name and namespace in other branches
  1. 7 mimemail.module \mimemail_help()

Implements hook_help().

File

./mimemail.module, line 13
Hook implementations for the Mime Mail module.

Code

function mimemail_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.mimemail':
      $output = '<h3>' . t('About') . '</h3>';
      $output .= '<p>' . t('This is a Mime Mail component module (for use by other modules).') . '</p>';
      $output .= '<ul>';
      $output .= '<li>' . t('It permits users to receive HTML email and can be used by other modules. The mail functionality accepts an HTML message body, mime-encodes it and sends it.') . '</li>';
      $output .= '<li>' . t('If the HTML has embedded graphics, these graphics are MIME-encoded and included as a message attachment.') . '</li>';
      $output .= '<li>' . t("Adopts your site's style by automatically including your theme's stylesheet files in a themeable HTML message format.") . '</li>';
      $output .= '<li>' . t("If the recipient's preference is available and they prefer plaintext, the HTML will be converted to plain text and sent as-is. Otherwise, the email will be sent in themeable HTML with a plaintext alternative.") . '</li>';
      $output .= '<li>' . t('Allows you to theme messages with a specific mailkey.') . '</li>';
      $output .= '<li>' . t('Converts CSS styles into inline style attributes.') . '</li>';
      $output .= '<li>' . t('Provides simple system actions and Rules actions to send HTML email with embedded images and attachments.') . '</li>';
      $output .= '</ul>';
      return $output;
  }
}