phpmailer_smtp.module in PHPMailer SMTP 2.1.x
Same filename and directory in other branches
Uses the PHPMailer library to send emails via SMTP.
File
phpmailer_smtp.moduleView 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
Name | Description |
---|---|
phpmailer_smtp_help | Implements hook_help(). |