summaryrefslogtreecommitdiff
path: root/program/steps/mail/sendmail.inc
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-05-18 15:46:50 +0000
committersvncommit <devs@roundcube.net>2006-05-18 15:46:50 +0000
commitc5ac073c9f48ce33960f66f5cc925bb452ae18b2 (patch)
tree3c06d96cba6a38da8fdac53d29b8fbb72cc3c9db /program/steps/mail/sendmail.inc
parentdab06575dc33646b50b56522c635ce4c2c6cb8a3 (diff)
renamed $mbox so that it will stop interfering with the $_SESSION when register_globals is turned on
Diffstat (limited to 'program/steps/mail/sendmail.inc')
-rw-r--r--program/steps/mail/sendmail.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc
index f8d3ada4f..65365ea7a 100644
--- a/program/steps/mail/sendmail.inc
+++ b/program/steps/mail/sendmail.inc
@@ -286,12 +286,12 @@ if ($CONFIG['sent_mbox'])
// check if mailbox exists
if (!in_array_nocase($CONFIG['sent_mbox'], $IMAP->list_mailboxes()))
- $mbox = $IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE);
+ $sent_folder = $IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE);
else
- $mbox = TRUE;
+ $sent_folder = TRUE;
// append message to sent box
- if ($mbox)
+ if ($sent_folder)
$saved = $IMAP->save_message($CONFIG['sent_mbox'], $header_str."\r\n".$msg_body);
// raise error if saving failed