You are here

phpmailer_smtp.module in PHPMailer SMTP 2.1.x

Uses the PHPMailer library to send emails via SMTP.

File

phpmailer_smtp.module
View source
<?php

/**
 * @file
 * Uses the PHPMailer library to send emails via SMTP.
 */
use Drupal\Component\Utility\Html;
use Drupal\Core\Routing\RouteMatchInterface;

/**
 * Implements hook_help().
 */
function phpmailer_smtp_help($route_name, RouteMatchInterface $route_match) {
  switch ($route_name) {
    case 'help.page.phpmailer_smtp':
      $text = file_get_contents(__DIR__ . '/README.txt');
      return '<pre>' . Html::escape($text) . '</pre>';
    default:
  }
}

Functions

Namesort descending Description
phpmailer_smtp_help Implements hook_help().