[Vtigercrm-commits] [vtiger-commits] r10373 - /vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 7 03:18:01 EST 2007
Author: richie
Date: Wed Mar 7 01:17:55 2007
New Revision: 10373
Log:
cc fix
Modified:
vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
Modified: vtigercrm/branches/5.0.3/modules/Webmails/ListView.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Webmails/ListView.php (original)
+++ vtigercrm/branches/5.0.3/modules/Webmails/ListView.php Wed Mar 7 01:17:55 2007
@@ -232,7 +232,7 @@
foreach ($overview as $val)
{
$mails[$val->msgno] = $val;
-
+ $hdr = @imap_headerinfo($MailBox->mbox, $val->msgno);
//Added to get the UTF-8 string - 30-11-06 - Mickie
//we have to do this utf8 decode for the fields which may contains special characters -- Mickie - 02-02-07
$val->from = utf8_decode(imap_utf8(addslashes($val->from)));
@@ -245,6 +245,9 @@
webmail[<?php echo $val->msgno;?>]["to"]="<?php echo addslashes($val->to);?>";
webmail[<?php echo $val->msgno;?>]["subject"]="<?php echo addslashes($val->subject);?>";
webmail[<?php echo $val->msgno;?>]["date"]="<?php echo addslashes($val->date);?>";
+
+ webmail[<?php echo $val->msgno;?>]["cc"]="<?php echo $hdr->ccaddress;?>";
+
<?php
}
}
More information about the vtigercrm-commits
mailing list