You are here

function mimemail_help in Mime Mail 7

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

Implements hook_help().

File

./mimemail.module, line 11
Component module for sending Mime-encoded emails.

Code

function mimemail_help($path = 'admin/help#mimemail', $arg = NULL) {
  switch ($path) {
    case 'admin/config/system/mimemail':
      return t('<p>This page is used to configure the Mime Mail module for your site.</p>');
    case 'admin/help#mimemail':
      $output = '';
      $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 .= '</ul>';
      $output .= '<p>' . t('For more information, see the <a href="http://drupal.org/project/mimemail">Mime Mail module.</a>' . '</p>');
      return $output;
  }
}