From d1b8b679eba88eed4ccb6bbfc7f5ed0b6f549c7b Mon Sep 17 00:00:00 2001 From: lkehresman Date: Wed, 15 Mar 2000 13:16:24 +0000 Subject: [PATCH] removed saving sent for now git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@307 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/smtp.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/functions/smtp.php b/functions/smtp.php index 8ddce949..68f4048f 100644 --- a/functions/smtp.php +++ b/functions/smtp.php @@ -357,15 +357,15 @@ function sendMessage($t, $c, $b, $subject, $body) { global $useSendmail; global $data_dir, $username, $domain, $key, $version, $sent_folder, $imapServerAddress; -/* + if ($useSendmail==true) { - sendSendmail($t, $c, $b, $subject, $body); + sendSendmail($t, $c, $b, $subject, $body); } else { - sendSMTP($t, $c, $b, $subject, $body); + sendSMTP($t, $c, $b, $subject, $body); } -*/ - $imap_stream = sqimap_login($username, $key, $imapServerAddress, 1); - sqimap_append ($imap_stream, $sent_folder, $body, $t, $c, $b, $subject, $data_dir, $username, $domain, $version); + +// $imap_stream = sqimap_login($username, $key, $imapServerAddress, 1); +// sqimap_append ($imap_stream, $sent_folder, $body, $t, $c, $b, $subject, $data_dir, $username, $domain, $version); } ?> -- 2.25.1