- $hdr->cc = sqimap_parse_address(trim(substr($line, 9, strlen($line) - 10)), true);
+ $hdr->cc = sqimap_parse_address(trim(substr($line, 3, strlen($line) - 4)), true);
case 'i': /* Disposition-Notification-To */
if (strtolower(substr($line, 0, 28)) == "disposition-notification-to:") {
$dnt = trim(substr($read[$i], 28));
case 'i': /* Disposition-Notification-To */
if (strtolower(substr($line, 0, 28)) == "disposition-notification-to:") {
$dnt = trim(substr($read[$i], 28));
$name = substr($address,0,$addr_start);
}
$at = strpos($addr, '@');
$name = substr($address,0,$addr_start);
}
$at = strpos($addr, '@');
$name = substr($address,0,$addr_start);
}
$at = strpos($addr, '@');
$name = substr($address,0,$addr_start);
}
$at = strpos($addr, '@');
$addr_structure->group = $group;
if ($at) {
$addr_structure->mailbox = trim(substr($addr,0,$at));
$addr_structure->group = $group;
if ($at) {
$addr_structure->mailbox = trim(substr($addr,0,$at));