From b7ff469f0b5cd6ed91b037a776856266e90d5a26 Mon Sep 17 00:00:00 2001 From: stekkel Date: Wed, 16 Oct 2002 19:04:22 +0000 Subject: [PATCH] renamed sendMessage function to deliverMessage so it won't conflict with the one in smtp.php which is called from mime for sending retrievalerrors. At a later time we should adapt retrievalerror or just remove the function because I don't think retrievalerror messages can supply us valueable information right anymore. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@3884 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/compose.php b/src/compose.php index c5e50680..e7c5b7e2 100644 --- a/src/compose.php +++ b/src/compose.php @@ -264,7 +264,7 @@ if ($draft) { */ set_my_charset(); $composeMessage=$compose_messages[$session]; - if (! sendMessage($composeMessage, true)) { + if (! deliverMessage($composeMessage, true)) { showInputForm($session); exit(); } else { @@ -335,7 +335,7 @@ if ($send) { do_hook('compose_send'); $composeMessage=$compose_messages[$session]; - $Result = sendMessage($composeMessage); + $Result = deliverMessage($composeMessage); if (! $Result) { showInputForm($session); exit(); @@ -1220,7 +1220,7 @@ function getReplyCitation($orig_from) { The message also should be constructed by the message class. */ -function sendMessage($composeMessage, $draft=false) { +function deliverMessage($composeMessage, $draft=false) { global $send_to, $send_to_cc, $send_to_bcc, $mailprio, $subject, $body, $username, $popuser, $usernamedata, $identity, $data_dir, $request_mdn, $request_dr, $default_charset, $color, $useSendmail, -- 2.25.1