(PHP 3>= 3.0.3, PHP 4 )
imap_setflag_full -- 메시지에서 플래그(flags)를 셋(set)한다
Description
string
imap_setflag_full ( int stream, string sequence, string flag, string options)
이 함수는 지정된 일련번호의 메시지에서 지정된 플래그(flag)에
플래그 셋(flags set)을 추가한다.
셋(set)할 수 있는 플래그(flags)는 "\\Seen", "\\Answered",
"\\Flagged", "\\Deleted", "\\Draft", 과 "\\Recent"이다.
(RFC2060 문서에 정의된대로)
옵션은 다음에서 한개 이상의 비트마스트(bit mask)값이다:
예 1. imap_setflag_full() example $mbox = imap_open("{your.imap.host:143}","username","password")
|| die("can't connect: ".imap_last_error());
$status = imap_setflag_full($mbox,"2,5","\\Seen \\Flagged");
print gettype($status)."\n";
print $status."\n";
imap_close($mbox); |
|