From 8fa48477b2f16ace25eded6bd44074248de5d4f6 Mon Sep 17 00:00:00 2001 From: phutnick Date: Wed, 19 Sep 2001 20:31:37 +0000 Subject: [PATCH] Added a hook for the priority plugin. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1506 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions/smtp.php b/functions/smtp.php index 0405a1db..0d0edd14 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -12,6 +12,7 @@ define('smtp_php', true); include('../functions/addressbook.php'); + include('../functions/plugin.php'); global $username, $popuser, $domain; @@ -567,8 +568,11 @@ function sendMessage($t, $c, $b, $subject, $body, $reply_id) { global $useSendmail, $msg_id, $is_reply, $mailbox, $onetimepad; global $data_dir, $username, $domain, $key, $version, $sent_folder, $imapServerAddress, $imapPort; + global $more_headers; $more_headers = Array(); + do_hook("smtp_send"); + $imap_stream = sqimap_login($username, $key, $imapServerAddress, $imapPort, 1); if (isset($reply_id) && $reply_id) { -- 2.25.1