You are here

function postmark_mailengine in Postmark 6

Implementation of hook_mailengine().

File

./postmark.module, line 52
This module allows for the inclusion of Postmark as the native Drupal mail handler, and uses drupal_mail_wrapper to send emails from Drupal using Postmark

Code

function postmark_mailengine($op, $message = array()) {
  switch ($op) {
    case 'name':
      return t('Postmark');
    case 'description':
      return t('Mailing engine using the Postmark library.');
    case 'settings':
      module_load_include('inc', 'postmark', 'postmark.admin');
      return postmark_settings_form();
  }
}