From 19076de94c76d379068c2098db45c319e4baf310 Mon Sep 17 00:00:00 2001 From: 3D-I Date: Wed, 22 Sep 2021 22:39:09 +0200 Subject: [PATCH] [ticket/16879] Add events to phpbb_mail() PHPBB3-16879 --- phpBB/includes/functions_messenger.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php index a40405b599..d3228fd659 100644 --- a/phpBB/includes/functions_messenger.php +++ b/phpBB/includes/functions_messenger.php @@ -1936,7 +1936,7 @@ function phpbb_mail($to, $subject, $msg, $headers, $eol, &$err_msg) $additional_parameters = $config['email_force_sender'] ? '-f' . $config['board_email'] : ''; /** - * Modify data before sending out emails with the PHP's mail function + * Modify data before sending out emails with PHP's mail function * * @event core.phpbb_mail_before * @var string to The message recipient @@ -1960,7 +1960,7 @@ function phpbb_mail($to, $subject, $msg, $headers, $eol, &$err_msg) $result = mail($to, mail_encode($subject, ''), wordwrap(utf8_wordwrap($msg), 997, "\n", true), $headers, $additional_parameters); /** - * Execute code after sending out emails with the PHP's mail function + * Execute code after sending out emails with PHP's mail function * * @event core.phpbb_mail_after * @var string to The message recipient