flags for imap_append and Sent email flagged Seen

This commit is contained in:
chrwei 2001-02-24 04:07:01 +00:00
parent 9a47dfa09e
commit 0b409c5b02

View File

@ -90,7 +90,7 @@ class send {
} }
if ($phpgw_info["user"]["preferences"]["email"]["mail_server_type"] == "imap" && $phpgw_info["user"]["apps"]["email"] && is_object($phpgw->msg)){ if ($phpgw_info["user"]["preferences"]["email"]["mail_server_type"] == "imap" && $phpgw_info["user"]["apps"]["email"] && is_object($phpgw->msg)){
$stream = $phpgw->msg->login("Sent"); $stream = $phpgw->msg->login("Sent");
$phpgw->msg->append($stream, "Sent", $header, $body); $phpgw->msg->append($stream, "Sent", $header, $body, "\\Seen");
$phpgw->msg->close($stream); $phpgw->msg->close($stream);
} }
if (strlen($cc)>1) $to .= ",".$cc; if (strlen($cc)>1) $to .= ",".$cc;