imap_clearflag_full() and imap_setflag_full() seem to only change messageflags permanently with IMAP connections, not with POP3 connections.
imap_clearflag_full
(PHP 4, PHP 5)
imap_clearflag_full — 메시지에서 플래그(flags)를 클리어(clear)한다
Description
string imap_clearflag_full
( int $stream
, string $sequence
, string $flag
, string $options
)
This function causes a store to delete the specified flag to the flags set for the messages in the specified sequence. 이 함수는 지정된 일련번호의 메시지에서 지정된 플래그(flag)에 플래그 셋(flags set)을 제거한다. 언셋(unset)할 수 있는 플래그(flags)는 "\\Seen", "\\Answered", "\\Flagged", "\\Deleted", "\\Draft", 과 "\\Recent"이다. (RFC2060 문서에 정의된대로)
옵션은 다음의 한개 이상의 비트마스크(bit mask) 값이다:
ST_UID The sequence argument contains UIDs instead of
sequence numbers
imap_clearflag_full
21-Nov-2005 09:42
calmdown at abendstille dot at
16-Jan-2003 05:23
16-Jan-2003 05:23
This function seems not to save the \\Seen flag permanently.
Testet on Win NT IIS 4.0 PHP 4.3 and imap-mail-server
